New Delhi, May 24 -- 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 Democrat...