A Selden man accused of molesting his students at a Brooklyn elementary school from 2012 to 2014 was acquitted of all charges Friday, his attorney said.

Jurors in Brooklyn Supreme Court deliberated for five hours before clearing Omil Carrasquillo, 38, of four counts of second-degree sexual abuse, a felony, and five counts of endangering the welfare of a child, a misdemeanor, said his attorney, Anthony LaPinta of Hauppauge.

“I’m feeling really good,” Carrasquillo said of the verdict. “It made me feel vindicated. It made me feel like there is justice. It hurts so much to be accused of something you didn’t do and have to fight for almost three years.”

Carrasquillo was arrested in September 2014 after students in the veteran teacher’s third- and fourth-grade classes at PS 249 in the Kensington section accused him of touching them inappropriately, LaPinta said.

Carrasquillo had originally faced 22 counts, but the other charges were dropped prior to trial. La Pinta said up to 9 students had accused his client but only five testified during the 12-day trial.

advertisement | advertise on newsday

The Brooklyn District Attorney’s office declined to comment on the verdict Friday.

LaPinta said some of the students retaliated against Carrasquillo because he was a disciplinarian.

“The initial accusers were lying because he had an altercation with one of their best friends in class,” LaPinta said.

advertisement | advertise on newsday

Carrasquillo ended up quitting the profession after teaching at the school for eight years.