A judge sentenced a North Wildwood man to five years probation Thursday — the longest term he could impose given the charges — after the defendant admitted he posted videos on SnapChat of him touching the genitals of a barely-conscious 18-year-old in her Stockton University dorm room in 2017.

In an emotional address in the Atlantic County courtroom Thursday, the woman repeated what she has been saying to police and in a civil suit for three years.

Zachary Madle raped her when she was blacked out and barely conscious in her Stockton University dorm room, she said. He left her naked on the floor, to wake up choking on vomit and facing the humiliation of the three videos he posted online of him touching her genitals and body, she said.

She said the encounter Feb. 15, 2017 made her a depressed shell of her former self. Afraid to be on campus, she drove home every weekend to get away.

“I wanted to die," the victim said of those drives home. “I prayed to God to die, hoping maybe a deer would jump out in front of my car so I could swerve and hit a tree, or maybe a drunk driver would hit my car and I would die or least be so messed up that I wouldn’t remember Zach or what he did to me.”

Madle pleaded guilty in January to fourth-degree criminal sexual contact and invasion of privacy for posting the video online without her permission.

Judge Bernard E. DeLury Jr. acknowledged in sentencing that since Madle has no criminal history and the most severe crime grand jurors indicted Madle on was aggravated criminal sexual contact, he was facing a presumption of probation even if he was convicted at trial.

Madle spoke in court only to say that he wanted to "convey my apologies.” His attorney, Steven P. Scheffler, said Madle is very ashamed of his actions and will “never forgive himself” for the harm he caused.

The victim, then a freshman at Stockton, accused Madle in a civil suit of raping her twice, including the night the videos were recorded. NJ Advance Media does not name victims of sexual crimes.

Police wrote in an affidavit of probable cause that one video showed Madle, then a 23-year-old alumnus, molesting the woman, who was in her underwear and “barely conscious.” Another video taken from the bed showed the woman lying naked on the floor with the caption “Broads sleep on the floor... f--- that cuddling sh--,” according to the criminal complaint.

She went to police, and Madle was charged in April 2018 with invasion of privacy for posting the videos. More than a year and a half after the incident, a grand jury indicted Madle on charges of aggravated criminal sexual contact and two counts of recording a sex act without consent.

The woman said in court that before the crime she was a confident, fun-loving girl who dreamed of becoming a New Jersey State Trooper. But after Feb. 15, 2017, she suffered from post-traumatic stress disorder, became depressed and stopped going to class, work or out with friends.

She said she dyed her hair, gained weight, wore glasses and got tattoos “so I wouldn’t look like the girl in the video he so heinously posted.”

She called Madle a monster and said he is in her nightmares every night. “You and I both know you raped me that night, you just didn’t post it to your SnapChat story,” she said.

Thanks to counseling and other help, she said she is doing better now and dreams of being a detective “so I can help convict more rapists like you and advocate for more change in the criminal justice system because you should not be walking away with probation.”

As the woman and her mother addressed the judge, Madle, wearing a suit and tie, sat back in his chair and stared straight ahead.

DeLury commented that Madle’s generation’s tendency to post everything online is “among the greater harms of modernity.”

“By recording his conduct with social media, this defendant has reproduced perhaps into eternity the harm to this victim. The only value of the defendant’s resort to the bedlam of SnapChat and other social media in this case was to provide the prosecution with incontrovertible proof of his criminality,” DeLury said.

In her suit, the woman also accused Stockton University and the unauthorized off-campus fraternity where she met Madle, Pi Kappa Phi, of being negligent for allowing her to be sexually assaulted. Stockton and the national fraternity have denied responsibility in court filings, and the university has said it properly investigates and offers support after any allegation of sexual assault.

Filed in the summer of 2018, the lawsuit set of a flurry of litigation from nine former Stockton students accusing young men of harassing or sexually assaulting them, and the university for failing to protect them.

Two additional former students sued Madle, alleging he raped them after parties at the rogue fraternity, but no charges have been filed in those cases.

All the lawsuits settled in December, court records show, but the terms were not disclosed.

Rebecca Everett may be reached at reverett@njadvancemedia.com. Follow her on Twitter @rebeccajeverett. Find NJ.com on Facebook.

Have a tip? Tell us. nj.com/tips