The Belfast Crown Court jury of five men and seven woman also heard on Tuesday claims that 22-year-old Brian Davey stole his alleged victim's watch and challenged her to "prove it" when ordered out of her house.
The charges denied by Davey, from Lineybrook Cottages in Bangor, include two charges of rape, a further count of sexual assault and an offence of theft on 30 May last year.
Opening the Crown case against Davey, prosecuting lawyer Rosemary Walsh told the jury they would hear allegations that the woman awoke to find Davey performing a sex act on her - but that when she protested, "he moved up, pinned her by the arms" and allegedly raped her.
The pair had initially met at a city centre bar a few weeks beforehand and had been contacting each other through Facebook and text messages with some being described as "flirtatious in nature".
On the night of the alleged attack, Ms Walsh told the jury that Davey was out with friends celebrating the end of his exams - but began texting the woman, who was at her house, in the early hours.
The lawyer said there were numerous text messages between the pair, the upshot of which resulted in Davey getting a taxi to her house.
"She met him outside and she could see that he was drunk," Ms Walsh told the jury adding that once inside, Davey allegedly tried to kiss her and touch her "between her legs".
After having a few drinks, the woman wanted to go to bed and told Davey he could "sleep in the room if he wanted".
The jury heard how the woman went to bed fully clothed and when Davey got in beside her and "put his arm around her, she pushed him off".
Ms Walsh described how the woman was putting her pyjamas on while Davey was in the bathroom and that when he came back into the room as she was putting her top on, "he tried to grab her but she told him to get off her".
While Davey was in the bathroom, the woman texted her friend in the next room "saying that she felt scared," claimed the lawyer adding that the pair did go to bed.
"Mr Davey continued trying to touch her and she told him she wasn't going to have sex with him and she eventually fell asleep," said the lawyer.
She was awoken however to find herself allegedly being sexually molested.
"She pushed him off but he moved up, pinned her by the arms and raped her," claimed Ms Walsh, alleging that "she was crying and trying to get him off".
The lawyer further claimed that Davey subjected his alleged victim to a further sexual act and another rape all while "she was crying and begging him to stop".
When he did eventually stop and left the room, the woman went outside and saw that he was "urinating on the landing" with Ms Walsh describing what followed as a "heated exchange".
"She said that if he left she would not tell anyone," the jury heard - but Davey allegedly challenged her: "What are you going to do about it? You can't prove anything."
The woman's housemates became alarmed and they saw her punch Davey in the face before he left.
The incident was reported to police and they arrested Davey within hours of the alleged sex attack.
Ms Walsh told the jury when he was searched, officers uncovered the alleged victim's watch in his pocket. Arrested and interviewed, Davey claimed he had gone to the woman's house when she asked " would I come back to her house for sex?"
He further claimed the sexual contact between them had all been consensual and he had no idea how he came to have her watch.
The trial continues. At hearing.