As the leader charged with providing a high-quality education to 1.1 million New York City students, I have to be honest with you:

Our school system is headed for disaster. You may have heard something in the news about mayoral control. Let me explain what it is and why losing it would be devastating.

The state government must act to keep the mayor in charge of our schools by June 30. If they don’t, the entire system will slide back into the old, decentralized structure we had before. That would mean chaos, gridlock and corruption. I should know, I’ve been working in city schools since the 1960s. I saw what happened before 2002 when we put the mayor in charge.

First and foremost, today, the leadership of our schools makes sense. I am accountable for continued progress in our schools and the mayor is my boss. That means New Yorkers know exactly who to blame if things aren’t going well and exactly who to call when they need something done. It also means that the largest school system in the nation has an executive with real power to shake things up, innovate on behalf of students and families, and make wholesale changes that benefit all corners of the city.

If Albany lets mayoral control lapse, there will be no one accountable for progress. Our schools have never been stronger, and all that we have accomplished together will be at risk. Instead, power will be in the hands of 32 separate community school boards. That will mean a mountain of new red tape and surging costs due to inefficiency. According to the Independent Budget Office, costs dropped 22 percent after mayoral control was enacted in 2002.

But that’s not the worst of it. The most catastrophic thing is how our students will suffer.

With 32 separate entities in charge of the “system,” it will be nothing more than a constant struggle for resources. Some communities will win and some will lose. Some communities will get more than their share and some will be asked to do with much less. If parents think that’s unfair, who can they complain to?

Having 32 separate school boards is ripe for corruption. Isolated districts are small enough to be taken over by factions who aren’t putting the best interest of kids first. In the past, these boards too frequently ended up as personal property that could be bartered and traded, and used to reward cronies. Under the old system, entire districts did not have well-trained teachers or necessary materials. This isn’t just speculation – again, I was there.

Managers, appointed by the local school boards, inflated the price of contracts to generate lucrative kickbacks that took money directly away from students and siphoned money from taxpayers. One district alone stole $6 million from students, paying 81 employees for jobs they never showed up to. In another, school safety was entrusted to a high-level gang member.

Before mayoral control, graduation rates hovered around 50 percent and many schools simply were not safe. Students in the city consistently did worse than their peers across the state on standardized tests.

In the 15 years since mayors have controlled the school system, New Yorkers have seen a turnaround that has been nothing less than stunning.

Right now, New York City’s graduation rate is the highest in history. The drop-rate rate is the lowest it has ever been. For the first time ever, our students beat the rest of the state on English tests. Crime in schools has fallen 35 percent over the last five years. And we have the highest-ever college enrollment rate.

Mayor de Blasio has brought change to every district in the city. In two short years, we have added free, full-day, high-quality pre-K for every 4-year-old. Now, we are working to do the same with 3-K, instruction for 3-year-olds.

We have after-school programs for every middle schooler and we’ve made investments in school facilities—guaranteeing that every classroom is air conditioned and every school has a gym. All of these accomplishments, and many others, are a direct result of mayoral control.

I want to be clear: This isn’t about the mayor I work for. Mayoral control is vital for New Yorkers no matter who the mayor is.

There is only one proven way to run the New York City school system — that’s putting our schools in the hands of a duly elected, accountable leader, the mayor of New York. The future of our City is at stake unless Albany takes immediate action.

Carmen Fariña is chancellor of the New York City Department of Education.