You are not permitted to download, save or email this image. Visit image gallery to purchase the image.
Sweden faces a political impasse after its mainstream centre-left and centre-right blocs virtually tied in an election, while the far-right - which neither wants to deal with - made gains on a hardline anti-immigration platform.
With nearly all votes counted on Monday, the ruling centre-left Social Democrats and Greens and their Left Party parliamentary ally had 40.6% of the vote, while the opposition centre-right Alliance was on 40.3%.
That translates into a single-seat advantage in the 349-member Riksdag.
The Sweden Democrats, a party with white supremacist roots, won 17.6%, about 5 percentage points more than four years ago. It was the biggest gain of any party and in line with conventional opinion polls but fell short of the 20-30% their leader Jimmie Akesson had predicted.
The Sweden Democrats' success follows a rise in popularity of other far-right parties in Europe amid growing anxiety over national identity, the effects of globalisation and fears over immigration boosted by conflicts in the Middle East and Africa.
Akesson was adamant his party holds the balance of power. "We won't participate in letting through a government which doesn't give us influence," he told TV4. "On the contrary, we will do what we can to bring down any such government."
Akesson's overtures found few takers with a letter inviting the right-wing Moderates and Christian Democrats to talks being instantly and publicly rebuffed.
Unless parties on the centre-left and centre-right break ranks with their blocs, it is likely to be impossible to form a stable government without some kind of support from the Sweden Democrats, who want the country to leave the European Union and freeze immigration.
Liberal Party leader Jan Bjorklund said he wanted to form a centre-right minority government and seek cooperation with the Social Democrats or the Greens.
He said the complicated situation meant he could not completely rule out supporting a Social Democrat-led government but said he would rather leave the Alliance than work with the Sweden Democrats.
"Should any party in the Alliance start cooperating with the Sweden Democrats then the Alliance will fall, but it will not happen," he said in an interview for Swedish Television.
Many online surveys, which in the last election had gauged the Sweden Democrats' vote better than conventional polls, had signalled they could dethrone the Social Democrats as the nation's biggest party - a position the centre-left has held for a century.
In the end, the Sweden Democrats were beaten by Prime Minister Stefan Lofven's Social Democrats by a 10 percentage point margin and eclipsed also by the Moderates of Ulf Kristersson, the Alliance's candidate for the premiership.
"In some sense we're happy the Sweden Democrats didn't grow more than they did," Liberal Party lawmaker Allan Widman told Reuters. "The bigger they become, the more hard pressed all other parties become."
Sweden saw itself as a "humanitarian superpower" for years, but a rise in gang violence in immigrant-dominated, deprived city suburbs has also won support for the Sweden Democrats.
After the arrival of 163,000 asylum seekers in 2015 - the most in Europe in relation to the country's population of 10 million - the government suspended many of its liberal asylum policies.
There was a sense of relief among supporters of mainstream parties about the far-right's less dramatic gains. That was shared in Brussels. "It is clear that the claim that the far-right is on an inexorable roll and will devour everything that stands in its way is false," said one EU official.
The scenario of a bipartisan coalition is highly uncertain.
Centre-left and centre-right parties have ruled together only a handful of times since the mid-1930s. Also, a 2014 accord to neutralise the Sweden Democrats and let the biggest bloc rule proved deeply unpopular among centre-right grassroot members and rapidly unravelled.
The Moderates - the biggest party in the Alliance - are not interested in cooperating with the Social Democrats and any such deal would also raise questions about democratic accountability. Voters might see the Sweden Democrats as the country's only opposition party.
A new election will be called if parliament doesn't agree on a prime minister after four attempts.