NEW YORK – In 2012, Brooklyn teacher Sean Shaynak dressed up as Britney Spears in a Catholic schoolgirl outfit for Brooklyn Technical High School’s senior Masquerade Ball, complete with midriff and tiny low-rise miniskirt.

Three years earlier he was a sexy French maid and allegedly “flashed his rear end.” For years he smoked cigarettes outside of the high school, chatting up young female students, and was known for letting some hide out in his room while skipping classes, the New York Post reports.

School officials shrugged their shoulders.

MORE NEWS: Know These Before Moving From Cyprus To The UK

“Someone should have told him he was crossing the line,” a colleague told the news site.

Now it’s too late.

Shaynak faces 36 charges stemming from alleged relations with six teen girls between 2011 and 2014, including forcible touching and sex abuse, according to the Post.

Teachers at Brooklyn Tech who spoke with the news site didn’t seem particularly surprised by the allegations, mostly because they said Schaynak was the principal’s pet, and “that gave him free reign.”

Shaynak was hired by Brooklyn Tech principal Randy Asher in 2009 to launch the school’s aerospace program. He had only five months of teaching experience as a substitute, but his status as a licensed pilot made him invaluable in Asher’s eyes, school employees told the Post.

“They turned a blind eye to his indiscretions,” a school staffer said.

MORE NEWS: How to prepare for face-to-face classes

“Asher once told a faculty meeting that Shaynak was Brooklyn Tech’s ‘most valuable teacher’ because only he could run the program, a staffer recalled,” according to the news site. “Meanwhile, Shaynak openly smoked cigarettes outside the school, always surrounded by a bevy of students – mostly girls.”

Shaynak was arrested Aug. 26 after a female student told an adult he sent her a picture of his penis through Snapchat, an app that allows users to send a picture that disappears after an allotted time. The 16-year-old recipient of the alleged photo, however, saved a copy of the image for police. At 6:15 a.m. Aug. 26 authorities arrested the teacher, and he wasn’t very happy about it.

“F— you, I’m not going anywhere,” Shaynak told police, according to court papers cited by the Post.

Shaynak is also alleged to have given the girl cigarettes and hung out with her while she smoked marijuana, the Post reports.

“This is a disturbing allegation, as schools should be safe havens for students where teachers should protect our children from, and not expose them to, such disgusting sexual images,” Brooklyn District Attorney Ken Thompson said in a statement.

Shaynak’s history of questionable behavior first came to light last month when prosecutors reported he allegedly took at least one female student to a sex club, and another to a nude beach, where he plied her with “Jack Daniels and tequila to the point where she passed out” at his house, Brooklyn Assistant District Attorney Joseph Mancino told the media.

He also allegedly attempted to persuade a student to have a lesbian relationship with another student, and had a threesome with others, the Post reports.

Shaynak was banished to the city’s union-created “rubber room” for misbehaving teachers while his legal troubles play out. The city’s taxpayers are forced to continue to pay his $52,744 salary until his case is resolved.

“The fact that our system continues to pay and even protect these predators – with many parents having to idea their children are in danger – defies common sense,” Campbell Brown, founder of Partnership for Educational Justice told the New York Daily News.

Shaynak is at least the second teacher at Brooklyn Tech, the school NYC Mayor Bill de Blasio’s son Donte attends, to gain the public’s attention for inappropriate sexual relationships with students.

In October, a panel of state appeals judges ruled the city could not fire Brooklyn Tech social studies teacher Steven Ostrin for calling a female student his “little sex slave” and for other touchy-feely antics with teen girls in his classes.