Croatia will hold a parliamentary election on April 17, the country's president said on Friday.

President Zoran Milanovic scheduled the parliamentary vote after Croatia's parliament dissolved on Thursday.

The ballot next month will pit the ruling conservative Croatian Democratic Union against a group of centrist and left-leaning parties who have announced they will run as an alliance.

CROATIA DISSOLVES PARLIAMENT AHEAD OF ELECTION SEASON

Just hours after setting the election date, Milanovic announced a surprise bid to run for prime minister as the candidate of the opposition Social Democratic Party.

"I promise a determined and (corruption) clear government," said Milanovic, who has served as prime minister in the past. "I'm inviting all honorable people and parties to come together (for the election.)"

Andrej Plenkovic

Croatia's Prime Minister Andrej Plenkovic gestures as he arrives for an EU summit in Brussels, Thursday, Feb. 1, 2024. Croatia's parliament was dissolved on Thursday, March 14, 2024 to pave the way for a parliamentary election later this year. The election date has not been set, though Prime Minister Plenkovic has suggested it should be held before the vote for the European Parliament in early June. (AP Photo/Omar Havana, File)

Croatia is also slated to hold a presidential election by the end of the year. Milanovic said later he would resign as president after the parliamentary "victory."

Milanovic will challenge the current conservative Prime Minister Andrej Plenkovic and his ruling Croatian Democratic Union, known by its Croatian initials as the HDZ.

The HDZ have largely held power since Croatia gained independence from the former Yugoslavia in 1991. The party has faced mounting accusations of corruption from the opposition ahead of the ballot but has denied the claims.

Milanovic also set the country’s voting for the European Parliament on June 7.

CLICK HERE TO GET THE FOX NEWS APP

The Adriatic Sea nation became the newest member of the European Union in 2013 and joined Europe’s free travel and euro zones last year.