A University of Illinois Chicago student faces charges after he was accused of sexually assaulting a 19-year-old female student during what he said was a “50 Shades of Grey” re-enactment.

A judge set 19-year-old Mohammad Hossain’s bail at $500,000 Monday after he was charged with aggravated criminal sexual assault stemming from an incident over the weekend.

Prosecutors say that around 5:30 p.m. Saturday Hossain went to his dorm room in the 900 block of West Harrison Street with a woman. Once inside, he allegedly asked her to remove her clothing, which she did, keeping on her bra and underwear before Hossain bound her hands and feet with belts and stuffed a necktie in her mouth. Prosecutors also say he put a knit hat on her head, covering her eyes before he removed the rest of her clothing and started striking her with a belt.

The Cook County State’s Attorney’s office said the victim told Hossain he was hurting her and asked him to stop. She eventually got one arm free but officials allege he held it behind her back as he sexually assaulted her.

Prosecutors said the victim requested he stop multiple times before Hossain’s roommate came home. Prosecutors say Hossain held the door shut to prevent him from entering until the victim left. The woman told someone what happened and police were notified, officials said.

Prosecutors say Hossain told detectives after he was arrested that he was re-enacting scenes from the popular movie “50 Shades of Grey.”

Hossain's lawyer, assistant Cook County public defender Sandra Bennewitz, told a judge Monday that Hossain was in several UIC leadership programs, was a student ambassador to the alumni association and was on the triathlon team, the Chicago Tribune reports. She also reportedly argued that Hossain claims the act was consensual.