ZAGREB, Croatia (AP) — Croatia’s Constitutional Court on Friday banned President Zoran Milanović from becoming prime minister in case his center-left party manages to garner a majority after this week’s highly contested parliamentary election.

The ballot on Wednesday ended inconclusively. The governing center-right Croatian Democratic Union won the most votes but not enough to rule alone. Although it finished second, Milanović’s Social Democratic Party is also trying to muster a coalition in the 151-member parliament.

Milanović made a surprise announcement that he would run for prime minister just hours after calling the election for April 17. The Constitutional Court later warned him that he had to resign first, a warning that he ignored.

“The Constitutional Court established that with his statements and behavior the president … brought himself in the position that he can neither be the prime minister-designate of the future government nor the future prime minister,” said the ruling.

Milanović has insisted that he had not violated Croatia’s top law by openly supporting the opposition during the campaign and saying he would become the new prime minister. He has accused the current Prime Minister Andrej Plenković of widespread corruption.

The showdown between Croatia’s two top politicians has dominated the vote, which is also seen as the test ahead of the election for the European parliament in June.

Milanović is critical of EU policies over the war in Ukraine. If he were to form a government, that could potentially open space for stronger pro-Russia influence in the country, akin to Hungary and Slovakia.

Officials results of Wednesday’s vote has shown that Plenković’s HDZ won 61 parliamentary seats while the SDP got 42. The far-right Homeland Movement has emerged as a potential kingmaker with 14 seats.

The Constitutional Court said that Milanović could not now become prime minister even if he resigned as president to take up the new post. Some opposition politicians alleged the court is controlled by the ruling conservatives.

Former Prime Minister Jadranka Kosor said the court’s decisions and announcements ran against the constitution itself. Leftist politician Dalija Orešković described Croatia’s top court as “one of a number of captured institutions.”

The HDZ has largely held office since Croatia gained independence. The Balkan nation became an EU member in 2013, and joined Europe’s passport-free travel area and the eurozone last year.

A presidential election is due to be held in Croatia by the end of the year.

Brought to you by