The anti-immigrant Slovenian Democratic Party (SDS) has emerged as the largest party in Slovenia’s general election.
With nearly all votes counted SDS had 25% of the vote, officials said. The centre-left anti-establishment LMS party came second with 12.7%.
Analysts say SDS may find it difficult to form a coalition.
The poll was called in March after centre-left PM Miro Cerar quit amid strikes, coalition wrangling and a damaging Supreme Court ruling.
The SDS is led by former PM Janez Jansa, who has been a vocal supporter of Hungary’s nationalist Prime Minister Viktor Orban.
On Sunday evening as the results became clear he said his party’s “door for talks and coalitions is open” to all other parties.
“We are ready to start serious talks based on the programme we have been working hard on,” he said.
SDS will have 25 seats in the 90-seat assembly. The only party that has so far said it will work with the SDS is the centre-right Nova Slovenija which won 7.1% and has seven seat.
That could leave LMS, which will have 13 seats, with a crucial role to play, correspondents say.
SDS argues that money spent on migrants would be better used for the country’s security forces. Mr Jansa says he wants Slovenia to “become a country that will put the wellbeing and security of Slovenians first”.
LMS (Marjan Sarec List) is led by comedian and political satirist Marjan Sarec who launched himself as an “anti-establishment” politician.