New York City has taken a bite out of crime in public schools, according to the NYPD.

Index crime dropped 35 percent during the past five years, the department announced Thursday.

And school-related arrests decreased 10 percent during the first half of this year compared to the same time period in 2015, department records show.

Mayor Bill de Blasio attributed the drop in school crime to efforts designed to ease tense situations before they get out of hand.

“Our school climate and mental health programs are addressing behavioral challenges before they escalate,” he said in a statement to news media.

“We still have a lot more work to do to ensure disciplinary disparities are addressed and to implement fair and effective strategies to keep schools safe.”

NYPD data show numerous arrests in schools during the second quarter of the year. Charges range from assault to robbery to criminal possession of a weapon.

“Safety always comes first and we are encouraged by the significant decrease in school-related arrest and summonses across the City,” said Schools Chancellor Carmen Fariña.