It's been over a year since former Brooklyn Technical High School math and science teacher Sean Shaynak sent a full-frontal nude Snapchat to a 14-year-old student, prompting a federal investigation into his pervy text messages. A flood of accusations of sexual misconduct followed—having sex with underage students, asking underage students to engage in lesbian sex with each other, and taking an underage student to a nude beach and a sex club, among other things.

Shaynak was ultimately accused of abusing seven young women ranging in age from 14 to 18. And on Tuesday, in the wake of a 36 count indictment, Shaynak pleaded guilty to crimes corresponding with a five year prison sentence.

Shaynak pleaded guilty this week to kidnapping in the second degree, related to the time he took a 15-year-old female student across state lines to a nude beach in New Jersey, the NY Times reports. He also pleaded guilty to disseminating indecent material to a minor, endangering the welfare of a child and official misconduct.

Other charges in the indictment included obscenity and sexual abuse, and spelled up to 25 years in prison. But a law enforcement official who discussed the case with the NY Times on condition of anonymity said that many of the alleged victims refused to testify in court, and one withdrew her cooperation completely.

"This guilty plea spares the young victims from having to testify publicly at trial and in graphic detail," said Oren Yaniv, a spokesman for the Brooklyn DA's office, in a statement. "In addition to five years in prison, the defendant is now a violent predicate felon who must register as a sex offender and will never be allowed to teach again."

One of Shaynak's alleged victims filed suit against the Department of Education earlier this year, a few months after the city issued a report justifying its decision to hire Shaynak, despite the fact that he had been arrested in 2005 for allegedly beating up an 11-year-old.

Referred to in the filing as V.V., the victim issued a statement when her suit went public.

"As a teacher, he was very cool to hang out with and talk to," she said. "I can totally understand how the other girls could look up to him. I feel like I was used. If I had a chance to sit down and talk to him, I would tell him what he did was sick and he should have stopped when I told him to stop."