A teenager said she started using MDMA after she was raped in a hotel by a dealer who gave her a free "line".
The teenager said she was "off her face" after snorting MDMA supplied by Omar Sharif, who then pushed her down and had sex with her on a bed at a hotel in Sunderland in 2016.
She said after the attack she became a user of the Class A drug but later managed to stop.
During an interview with a detective, which was recorded on camera and played in court, the teen said she would not have consented to sex with the 22-year-old and explained "I didn't even know him".
Prosecutors claim undergraduate Sharif, who drove a flash car with a personalised number plate, is a serial sex attacker as well as a drug dealer, which he denies.
Sharif, of no fixed address, who has admitted some drugs offences, is on trial at Newcastle Crown Court where he denies three offences of supplying MDMA, five charges of rape and one of sexual assault.
The woman said she had gone to the hotel room with another teen girl to meet Sharif.
She added: "I was just sitting there and he asked if I wanted a line. I said no at first."
The alleged victim said she sorted a line of the drug, which she had never tried before, and that the other teen left the room.
She added: "I was going to go with her then she pushed me on the bed. I was stood up and he just pushed me on the bed."
The teenager said she thinks nothing was said during the attack but added: "I can't really remember, I was off my face."
She told detectives she held her hands over her face during the ordeal.
The girl told police she saw Sharif, who she was "frightened of", after the attack.
She added: "I started taking MDMA after that night, we met him for that."
The teen said she had later stopped taking drugs and began to realise she had been exploited.
Sharif is being tried alongside Milagros Sanchez, 24, of Chester Road, Sunderland, who denies facilitating sexual exploitation at her rented flat, where it is claimed a teenager was raped by two strangers in 2016.
Luke Richardson, 20, of Ponden Hill, Sunderland, and Georgi Karaboykov, 34, of Harario Street, Sunderland, both deny rape and assault by penetration in connection with what happened at Sanchez's flat that night.
They both claim the alleged victim consented to what went on.
Sharif's brother Amer Sharif, 19, of Brunton Terrace, Sunderland, denies perverting the course of justice over claims he tried to tamper with the police investigation.
Prosecutor Gavin Doig has told the court Northumbria University student Omar Sharif preyed on women he gave drugs to after they "caught his eye".
Sharif denies supplying MDMA to or attacking the woman at the party.
The trial continues.