Hungary’s president is set to be removed from office after lawmakers approved constitutional changes aimed at undoing the legacy of illiberal former PM Viktor Orbán. President Tamás Sulyok is seen by the new government of Péter Magyar, who trounced Orbán in April's parliamentary elections, as far too close to the nationalist Fidesz party that dominated the country for 16 years. The 17th amendment to the constitution, passed by MPs on Monday by 139 votes in favor to 6 against, with no abstentions, mandates Sulyok's removal, among other measures. Fidesz had vowed to boycott the debate and vote. Magyar, a pro-European conservative, is looking to take advantage of his Tisza party's overwhelming parliamentary majority – exceeding the two-thirds required to change the constitution – to redraw the Hungarian state after Orbán's era-defining rule. The package, part of a wider legislative package dubbed by Magyar ‘operation cleansing fire,’ is the broadest effort yet to depoliticize institutions reshaped during Orbán's years in power. Constitutional overhaul Besides ending Sulyok's mandate, the amendment restores a mandatory retirement age of 70 for Constitutional Court judges, immediately forcing out four judges, shortens their terms to nine years from 12, and returns the power to elect the court's president to the judges themselves instead of parliament. It also introduces a 12-year limit on parliamentary service, barring lawmakers who have already served three terms from standing again. According to Magyar, the three-term limit will ensure bringing in “new perspectives” into parliament. It has the additional effect of barring many long-serving opposition politicians from running for office in the next parliamentary elections. Fidesz faction leader Gergely Gulyás resigned in protest of the change, writing on Facebook that it ‘bans him from representing Hungarian people.’ The package also lays the foundation for a new state asset recovery office with investigative powers, aiming to deliver on Magyar’s campaign promises of weeding out corruption in the country. ‘Fidesz destruction’ “It would be a betrayal of the Hungarian nation if we did not touch this Fundamental Law, because it is the founding document of the Cosa Nostra built by Fidesz–KDNP,” Magyar told parliament before the vote. He said the amendment “closes the era of Fidesz destruction” and would pave the way for drafting a new constitution. That the package is squarely aimed at unraveling Orbán's rule is perhaps best exemplified by its move to reverse one of Orbán’s more symbolic nationalist changes: renaming Hungary’s administrative districts back to megyék instead of the historical vármegyék. “Hungary in the 21st century does not need feudal lords, chief sheriffs or oligarchs, but a modern European state,” Magyar said, commenting on the reversal. Fidesz condemned the changes as “the end of constitutional democracy and the beginning of authoritarian rule in Hungary.” The amendment can take effect only after President Tamás Sulyok signs it and orders its promulgation. Prime Minister Péter Magyar has said parliament will initiate impeachment proceedings if Sulyok refuses to sign the amendment. The amendment provides that Sulyok’s mandate will end the day after it enters into force. Parliament will then have 30 days to elect a successor, who will serve until a new constitution enters into force or for a maximum of five years.