LANSING, MIch. – The Michigan Legislature narrowly approved a $617 million bailout and restructuring of Detroit's debt-ridden school district early Thursday, two years after the state spent less than a third of that amount to help the city government emerge from bankruptcy.

The legislation goes to Gov. Rick Snyder for his expected signature.

The Republican-controlled Senate passed a main bill 19-18 late Wednesday, and the GOP-led House followed with a similar razor-thin 55-54 vote. Some Republicans joined all Democrats in opposition during an emotional debate that brought some lawmakers to tears.

Snyder, who had warned legislators that insolvency would be disastrous for students and the state if the district ran short of money this summer -- as it would have without further intervention -- said in a statement that the measure is "fresh start" and an "unprecedented investment for the education of Detroit's children."

The financially and academically ailing 46,000-student Detroit Public Schools has been managed by the state for seven years, during which it has continued to face plummeting enrollment, deficits and, more recently, teacher sick-out protests.

Read: DPS manager says if money doesn't come, it'll be "unimaginable"

Bills call for split district; lawmaker reactions mixed

Under the bills, the district would be split in two and control would be returned to an elected school board. A commission of state appointees would oversee the district's finances, similarly to how it now reviews the city's budgeting as part of a $195 million state rescue in 2014.

The new debt-free district would educate students. The old district would stay intact for tax-collection purposes to retire $617 million in debt over 8½ years, including $150 million in transition costs to launch the new Detroit Community Schools.

Furious Democrats accused "coward" Republicans of bowing to the politically influential school-choice lobby in dropping a proposed commission of mayoral appointees to regulate the opening of new schools -- including independent, publicly funded charters that have drawn students and funding away from traditional neighborhood schools.

Read: Detroit mayor says he's 'concerned' about plan

Sen. Bert Johnson, a Highland Park Democrat who represents part of Detroit, said the legislation is "paternalistic" and "unethical."

"If you do this, you are systematically spelling the end of the Detroit Public Schools system," he said. "Parents are already concerned. ... I think it's going to drive enrollment further into the ground."

But majority Republicans said bankruptcy would have been the worst possible outcome.

"I know many will weigh in with opinions on how we could have done better, and (we) all hear criticism about this compromise. But at the end of the day, our responsibility is to solve the problem," said Senate Majority Leader Arlan Meekhof, a West Olive Republican.

The vote came more than a year after the Republican governor proposed an overhaul. He said debt was crushing the district and warned that insolvency would leave the state with billions of dollars in liabilities and stifle Detroit's recovery post-bankruptcy.

Before the final voting, there had been fairly broad agreement on the need to help the district.

Yet Democrats united against the bills, expressing a range of concerns, including that the money would fall short of what is needed to adequately help the district decimated by declining enrollment -- both due to population loss and the role of charter or suburban schools.

"This plan is a farce," said Sen. David Knezek of Dearborn Heights.

Some Republicans were reluctant to offer taxpayer support to the state's largest school district that for decades has grappled with mismanagement and corruption, while others joined with Democrats in contending that the legislation allows the continued pitting of district schools and charters against each other.

Survey: Senate's DPS plan has most support, voters back controlling Detroit charter schools growth

"My fear is that the serious lack of coordination related to school site planning decisions will continue," said Sen. Goeff Hansen, a Hart Republican who choked up during his floor speech. He voted against some bills despite sponsoring and shepherding an earlier bipartisan package through the Senate. "By not truly fixing these systemic problems, are we not furthering the confusion and chaos that negatively impacts parents' abilities to seek stability and positive educational options for their children?" he said.

But House Speaker Kevin Cotter, a Mount Pleasant Republican, said lawmakers initially were asked to pay off the debt and hand back control of the district to locally elected officials.

"It does both of those things," he said.

Statement from AFT Michigan, Detroit Federation of Teachers

The Senate abandoned its own Detroit education bill, which was crafted with bipartisan support and backed by business, civic and religious leaders, parents, education organizations, labor and the Mayor of Detroit. Instead, the Senate voted for the House plan, which does not meet the needs of students and attacks educators.

While the House plan voted on Wednesday night is inadequate, it is an improvement over the prior House plan in that it provides more resources and has DPS employees keeping their jobs and union representation and returns DPS to an elected school board in January.

Governor Rick Snyder who had originally supported the Senate plan — one that is a fair reflection of the recommendations of the Coalition for the Future of Detroit Schoolchildren — also succumbed to the wishes of Speaker Kevin Cotter and his benefactors, Dick and Betsy DeVos. This is people playing political games while showing an utter disregard for children’s futures.

Fortunately, for the children of Detroit, no piece of legislation, no matter how bad, no matter how inadequate, will stop Detroit educators from giving their all for the city’s students. Regardless of the challenges, we’ll move forward with this upcoming school year with a renewed vigor toward making sure students receive the best education possible. Educators will continue to go the extra mile to make up for the legislature’s failure.

The bills passed both Houses with only Republican votes, meaning all Detroit legislators voted against the bills. Therefore, these bills are a statement by non-Detroit Republicans that they know what is best for Detroit, a city that is overwhelmingly people of color. It has been this attitude that resulted in Detroit Public Schools’ massive debt, low academic performance and a “wild west” system of school openings.

While the House bills pay down the debt that accumulated at DPS under state control and provide for DPS employees to keep their jobs and their union representation, the package as a whole does not prioritize adequate financial investment in the district.

The bills raise the stakes of standardized testing, which waters down education to multiple-choice answers, while, ironically, at the same time Congress in minimizing role of this type of testing.