Private and religiously-affiliated schools in New York City will receive $20 million in funding to hire full-time security guards, thanks to legislation passed by the City Council on Monday.

According to the new law, private schools with at least 300 students will be eligible for at least one full-time, unarmed security guard starting in April 2016. The City would fund hiring and training, as well as wages.

Councilmember David Greenfield, who represents Borough Park and Midwood—where many Jewish schools are concentrated—sponsored the bill.

"I introduced this legislation originally post-Sandy Hook, when it was clear that nonpublic schools do not have the protections that the public schools had," the councilmember told WNYC this morning. As for the recent mass-shootings in Paris and San Bernardino, "It's another benefit of having security, but that was not the impetus."

According to the News, about 250,000 students attend 800 nonpublic schools in NYC. Almost half of these students, more than 110,00 of them, attend Jewish yeshivas. Greenfield said that yeshivas are susceptible to anti-semitic hate crimes, but that Muslim and Catholic schools could benefit from protection against bias crimes as well.

WNYC reports that 267 hate crimes have been reported to the NYPD through November 22, compared to 288 during the same period last year. Two women in hijab were allegedly spit on late last month, and a man shouting anti-Semitic slurs and violent threats assaulted the owner of an Upper West Side Jewish supply store on December 1st.

Greenfield initially called for $50 million in funding for the initiative, but scaled back when the City objected. Mayor de Blasio has since voiced his support of the bill, under the condition that the guards are private, rather than NYPD-affiliated.

The Mayor said in a statement Monday that the new law "recognizes community needs, while addressing administration concerns about diverting critical police resources."

The New York Civil Liberties Union is strongly opposed to diverting public funding to schools that already charge students for tuition.

"To suggest that these private, sectarian institutions that receive monetary support from their students and private donors should be financially supported by the city as well is not only bad policy, it is an example of unconstitutional government support for religious institutions," said NYCLU's advocacy director Johanna Miller in a statement.

Danny Dromm, the Council's Education Committee chair, also balked, arguing that some of the eligible schools are already quite expensive, charging students up to $25,000 a year in tuition. "We're giving away $20 million to these private and religious schools when that money is desperately need for our own public school pupils," he said.

Many elite private schools, like Horace Mann and Avenues: The World School, already have established private security teams.