LJUBLJANA, Slovenia (AP) — Slovenia’s parliament on Friday appointed right-wing populist politician Janez Jansa as the new prime minister, in a shift for the small European Union country that was previously run by a liberal government.Lawmakers backed Jansa in a 51-36 vote in the 90-member assembly. The new prime minister will need to come back to Parliament within the next 15 days for another vote to confirm his future Cabinet.Jansa’s appointment concludes a postelection stalemate in Slovenia after a parliamentary ballot two months ago ended practically in a tie. Former liberal Prime Minister Robert Golob’s Freedom Movement won by a thin margin but he was unable to muster a parliamentary majority.Jansa and his populist Slovenian Democratic Party signed a coalition agreement this week with several right-wing groups. The new government also has the backing of a nonestablishment Truth party that first emerged as an anti-vaccination movement during the COVID-19 pandemic.

The new term in office will be the fourth for the veteran Slovenian politician. Jansa, 67, is an admirer of U.S. President Donald Trump and was a close ally of former populist Hungarian Prime Minister Viktor Orbán, who was defeated in a landslide election last month.