Hipkins said in a statement that the passage of the Bill draws a line under some of the most divisive policies of the previous Government and puts the emphasis back on quality education.

“The agenda of deregulation and privatisation, coupled with an obsession with measurement and compliance was undermining our education system and leading to worse outcomes for young New Zealanders,” he said.

"Teachers and principals fought against National Standards because they failed to measure progress across the curriculum and increased teacher workload.

“During the time National Standards were in place, the performance of New Zealand students in the areas of reading, writing and maths actually went backwards in international studies.

"Charter schools were a deregulated, privatised form of schooling that we simply don’t need in New Zealand.

“They didn’t have to employ qualified and registered teachers, didn’t have to teach to the New Zealand Curriculum and could operate as profit-making businesses."

The repeal was welcomed by the Post Primary Teachers’ Association (PPTA), which called the third reading of the Bill a “final farewell for a model that undermined public responsibility for education”.

“A public education system which is delivered and owned by the citizens of this country is the best possible way to ensure fair, high quality outcomes for young people,” PPTA president Jack Boyle said.

“The global evidence is clear that charter schools don’t lead to better outcomes for students in the long term, and undermine equity and social cohesion, which are critical goals for an education system.”

News of the Bill’s passage comes in the same week that Māori educators lodged an application for an urgent hearing in the Waitangi Tribunal over the closure of charter schools.

Earlier this year Sir Toby Curtis and Dame Iritana Tāwhiwhirangi filed a Treaty of Waitangi claim against the government’s decision to close charter schools, arguing the closure ignored the fact that charter schools were having an impact on the educational success of Maori students.

National has promised to bring back the charter school model within 12 months of being re-elected

Hipkins’ Bill also restores guaranteed staff and student representation on the governing councils of tertiary institutions, introduces an offence for those who make a false representation about their eligibility for the government’s flagship Fees-Free policy, and changes the timeframe for school boards to develop their strategic plans to three years from four.