A Brooklyn teacher was charged last month for sending lewd images to his 16-year-old student and having sexually intimate relationships with several of his female students, prosecutors said Tuesday.

Sean Shaynak, a 44-year-old math and science teacher at Brooklyn Tech, reportedly took the students to sex clubs and nude beaches and gave A grades to those students who slept with him, reports the New York Daily News.

Brooklyn District Attorney Kenneth Thompson announced a new 36-count indictment against Shaynak, saying that the new charges came after investigators found evidence on Shaynak's computer that he slept with six other teenage girls between 2011 and 2014, reports NY1.

Investigators had seized three computers and two phones and found several text messages, as well as hundreds of photographs and videos, the prosecutors said, according to CBS New York.

The new charges against Shaynak include kidnapping and criminal sexual acts. He faces up to 25 years of jail if convicted.

Students expressed shock over the news of his arrest for the sex charges. "Everybody knew him. He was a nice guy too, really friendly with the kids also. I'm actually shocked something like this would have happened," said one student, according to NY1.

"Pretty cool guy, really friendly. We talked about computers once. He gave me some advice on it, but I'm not really surprised to hear what happened. I hear these sort of rumors sometimes," another said.

A Department of Education spokesperson released a statement saying, "These alleged actions are completely unacceptable, and have no place in, or outside of, our schools. The DOE took swift action to immediately reassign Mr. Shaynak following his initial arrest. He is not, and will not be, in contact with students. Student safety remains our top priority," SF Gate reports citing the Associated Press.