A WOMAN who has raised a civil legal action against a Bury man cleared of raping her has told a court she thought she was going to die.

"I was just so afraid," the witness told a sheriff.

She also described how she has suffered panics, flashbacks and night terrors, for which she has been prescribed a range of medication, in the wake of the alleged assault after a night out in 2013.

The 23-year-old woman, who cannot be named for legal reasons, said she went on to became more reclusive and that her drinking in an attempt to block out thoughts "spiralled out of control".

Stephen Coxen, 23, from Bury, is being sued by the woman who accuses him of raping her in St Andrews, Fife, that year.

Coxen denied the charges and in November 2015 a jury found the case against him not proven, a verdict of acquittal.

His alleged victim has launched a civil action, with her beginning her evidence at the Personal Injury Court in Edinburgh yesterday.

Representing the woman, Simon Di Rollo QC asked her today about an earlier statement she had made in which she said she "thought that was it" during the alleged attack.

She said: "I think it was a reference to the next day as well. I thought that was it ... I was so afraid, I suppose.

"I didn't know how it was going to end, I suppose. I was just so afraid, I didn't know what was going to happen next."

Pressed to explain what she had meant by the phrase, she replied: "I thought I was going to die."

She listed a variety of drugs she said she has been prescribed, including those to help with anxiety and depression.

"(One), like a beta-blocker, stops when I panic. I can feel the heart rate in my neck. It stops me panicking too much if I'm having flashbacks or triggers," she told the court.

She also described taking another tablet "because the night terrors have been getting quite bad now".

"I'd wake up in the night and feel I couldn't breathe," she said.

She also said she has been known to sleepwalk and said: "I don't sleep very well, I often wake up. Maybe once a week I wake up in a panic."

The woman told how her memories of the alleged events return to her and she said she finds it quite difficult to talk about them.

The witness said her friends would describe her as "reclusive" and that they became concerned about her drinking in the past.

"It got quite bad. My friends were quite worried about my level of drinking. It sort of spiralled out of control," she told Sheriff Robert Weir QC.

Yesterday, the woman described waking up to find a stranger having sex with her after a night out.

The court heard that she had been drinking alcohol earlier in the night, but her memory was blank for parts of the evening.

Questioned by Stephen O'Rourke QC - representing Coxen, who contests the action - she agreed that she had consumed significantly more alcohol that night than she would have been used to.

Asked whether she might have "overstated" the amount she had consumed, she replied: "I disagree with that."