She was giving evidence on the first day of the trial of Thomas Quinn, who denies the charge of rape.

On the first day of the trial, the woman said she was very drunk by the time she met Mr Quinn at the pub on an evening last year.

Answering questions from Crown Advocate Simon Thomas, prosecuting, the woman she had recognised Mr Quinn as a customer at the business where she worked. She said: “I waved to get his attention and gave him a hug.”

She sobbed as she added: “I was just happy to see someone I knew. I didn’t think he would do what he did.”

She said she did not remember going to his flat, but woke up there to find him on top of her, having sex with her.

She said: “I didn’t know where I was or who I was with. I started freaking out and he climbed off. He seemed panicked, like he realised he had done something wrong.”

She said Mr Quinn offered to call a taxi for her but she left, saying: “I didn’t want to wait for a taxi with someone who had just violated me.”

She reported the incident to police and was sent to Dewberry House sexual assault referral centre, where an examination revealed bruises to her arms and back and an injury in her genital area.

Advocate James Bell, defending, pointed out that the woman had exchanged text messages with a friend at around the time she had been at the pub, so questioned her claim that she had been very drunk.

He said: “It was a coherent conversation that showed you were thinking straight.”

She replied: “I know what that man did to me. I was in no fit state. He has turned my life upside-down.”

Asked why she had gone to his flat, she repeated that she could not remember going there but said: “Maybe I didn’t feel at risk at that point.”

She also denied that she was attracted to Mr Quinn or the suggestion that she had initiated sexual contact, saying: “I wouldn’t try it on with a man who’s older than my dad.”

On Tuesday, the second day of the trial, Mr Quinn denied having had sexual intercourse with the woman. He accepted that, when he came back to his flat she was “not completely sober”, but added: “She was happy to be there and she was steady on her feet.”

He said she became flirtatious and they began kissing, and when he returned from the bathroom she was on his bed. He said they lay in bed and had touched each other intimately but intercourse had not taken place.

He added: “It was all consensual. She was awake.”

Advocate Bell asked: “Was she encouraging you?”

He replied: “Yes.”

The advocate asked: “Did you have any impression that she wanted to leave?”

He said: “No, none whatsoever. If she had I would have arranged a taxi.”

Mr Quinn also said that he would not consider a relationship with someone as young as the woman, and Advocate Thomas asked: “Did you not say, ‘This isn’t going to happen, I’m old enough to be your father’?”

He said: “I regret I didn’t say that.”

The trial continues today, and is expected to conclude tomorrow. The Bailiff, Sir Timothy Le Cocq, is presiding.