All but four of Pennsylvania’s 500 school districts received $25,000 this week to address school safety measures.

The funding, authorized by the 2018 state budget and distributed through a committee with the Pennsylvania Commission on Crime and Delinquency, was a top political goal for legislative leaders this year on the heels of the Parkland school shooting in February.

Pennsylvania handed out $8.4 million in school safety grants Thursday.

The money, separate from the $60 million allocated during the year’s budget, will aid 269 different school or law enforcement entities with reducing violence in and around schools, whether with school resource officers, training, metal detectors or ID systems.

“Parents and students deserve to have confidence that our classrooms are safe places for children and teachers,” Gov. Tom Wolf said in a statement.

Lawmakers, security and schooling experts laid the groundwork for the distribution of $70 million in state school safety funding Wednesday at the second meeting of the Pennsylvania Commission on Crime and Delinquency’s School Safety and Security Committee.

The General Assembly allocated the funding under this year’s budget with a wide list of uses, from installing metal detectors or security cameras to providing training for teachers or ordering a threat assessment.

On Monday afternoon Auditor General Eugene DePasquale hosted a press conference where he discussed the recommendations in the Pennsylvania School Safety Task Force final report.

From April until June the task force held six regional round tables at schools where they listened to parents, students, school officials, law enforcement and others about their ideas on how to keep school safe and secure.