ALBANY, N.Y. (CBSNewYork) — The battle between Mayor Bill de Blasio and Gov. Andrew Cuomo over charter schools has led to a tentative deal on a reform package from state lawmakers, sources told CBS 2 News.

The deal would make certain demands of New York City government.

READ MORE: Storm Watch: Officials Hoping To Avoid Repeat Of Ida With Preparations For Nor'easter

If a charter school is looking for space, the city would have five months to find a suitable building, or pay for a private space. The city would also pay the first $40 million to cover rent for charter school buildings.

The plan also increases per-student funding to over $1,100 over three years.

Cuomo was front and center when charter school operators took their fight with Mayor de Blasio to Albany. Last week, sources said he was trying to get the mayor to end the dispute – or else the state would do it.

READ MORE: NYPD: Man Shot Inside Union Square Subway Station

Sources told CBS 2 the governor wanted the mayor to settle three lawsuits brought by charter operator Eva Moskowitz, find space for Moskowitz’s three Success Academy charter schools de Blasio nixed, and restore $210 million in charter funding.

If the mayor did not act, sources said, Cuomo and the Senate would use the state budget to protect charter schools – finding them both space and money.

The mayor agreed before that to find space for one of the Harlem Success Academy charter schools that enrolls nearly 200 students. He has defended his decision to deny the space to the others.

Check Out These Other Stories From

MORE NEWS: 'Squid Game' Halloween Costumes Banned By New York School District Due To Netflix Hit's 'Violent Message'

[display-posts category=”news” wrapper=”ul” posts_per_page=”4″]