The Hungarian parliament amended the constitution on Monday to remove the country's president, Tamás Sulyok, as part of Prime Minister Péter Magyar's plan — dubbed "purgatorium" — to dismantle the political legacy of his predecessor, Viktor Orbán.

The issue is considered the first political test for Péter Magyar's Tisza Party, which came into power after its landslide victory in April's election.

While the attempted removal of the president enjoys popular support, the process could backfire legally, experts said. Euronews explains the details of the fight between the prime minister and the president of Hungary.

Why is Magyar targeting President Sulyok?

Magyar, who won a landslide victory in April's election, has repeatedly urged Sulyok to resign, branding him a puppet of Orbán.