Centre-left and centre-right parties have ruled together only a handful of times since the mid-1930s. Although the country initially welcomed the new arrivals, moods quickly soured amid fears that the wave of people fleeing war and poverty could capsize Sweden's generous social welfare system.
There was a sense of relief among supporters of mainstream parties about the far-right's less dramatic gains. Under the current leader, Jimmie Akesson, who took over in 2005, the party insists it has no tolerance for racist or xenophobic rhetoric and routinely kicks out members discovered to be espousing openly racist sentiments (which, to be fair, still happens quite often).
Neither the governing Social Democrats nor the centre-right bloc of parties are predicted to win a majority.
Final results are due before midnight (2200 GMT), but the composition of the next government may not be known for weeks.
Sky's Michelle Clifford, who is reporting from the Sweden Democrats' election party, said: "They have done well, but the aspirations from the polls was that they would be the second largest, but that doesn't seem so".
The Social Democratic party, Sweden's largest party whose ideals have dominated Swedish politics for most of the last 100 years, got their weakest result since 1908.
The Sweden Democrats: Winners or losers?
Lengthy negotiations will follow to attempt to form a workable government.
The Sweden Democrats, a party with white supremacist roots, won 17.6 per cent, about 5 percentage points more than four years ago.
The center-right Moderates have become especially tough on immigration, echoing numerous positions of the Sweden Democrats.
"The Alliance will not govern or discuss how to form a government with the Sweden Democrats", he said.
The election had been watched closely for signs about the extent to which a cascade of anti-immigrant fear could hit even Sweden, which has always been one of Europe's most open nations toward refugees.
The right-wing populists have dictated the agenda and the established parties (except for the Left Party, the Greens, to some extent the centre-right Centre and the Social Democrats) have bought into their description of the state of Sweden and adjusted their political proposals thereafter.
Lofven eventually said Sweden no longer could cope with the influx and immigration laws were tightened.
The Sweden Democrats emerged with 63 MPs, up from 49, leaving them in a strong position.
About 7.5 million registered voters were choosing from nearly 6,300 candidates for a four-year term in the 349-seat Riksdag, or parliament. More Swedes than ever split their ballot: 30% chose different parties at the local, regional and national levels. Both parties are joined by a number of smaller fringe parties in forming their respective coalition blocs.
At the Swedish Democrat's election eve rally Saturday, party leader Jimmie Akesson criticized Lofven's government for "prioritizing" the needs of new immigrants the ones of Swedish citizens.
Mr Akesson had labelled the vote a choice between immigration and welfare in a campaign that was unusually antagonistic. Many allege that immigrants were behind the massive auto bombing spree in August, which saw 160 cars torched. Nevertheless, prime minister Stefan Löfven did not resign on election night, citing the need for stability. Such a government is already in place in Denmark, where the center-right Venstre is in government with the backing of the further right Danish People's Party.
Clark, 22, was fatally shot earlier this year by officers in the backyard of his grandparents' home in Sacramento, California. Dallas police officer Amber Guyger was arrested on a manslaughter charge Sunday in the shooting death of Botham Jean .
Others insinuated that Ariana's choice to leave him for Pete Davidson , the Saturday Night Live star, led him to take drugs. Multiple US media sources are this morning confirming the tragic death of hip-hop star Mac Miller at the young age of 26.
Prime Minister Imran Khan has condoled the death of Kulsoom and said all facilities will be provided to her family as per law. Begum Kulsoom Nawaz did not actively participate in politics despite being married to Nawaz Sharif.
Since then, he was arrested at a casino, busted at his ex-girlfriend's home, and allegedly ripped a TV off the wall in jail. Randle has been in jail in Wichita for most of the past two years for that case.
This is despite the optimism they showed earlier in the year when they became the first Wall Street firm to clear Bitcoin futures. In addition to this, there have been a number of Bitcoin ETF applications denied by the US Securities and Exchange Commission .
I didn't take any pleasure in watching Nadal go through the motions in that second set - especially in case he did more damage. Who could ask for anything more? And through it all the tendninits in his knees has periodically slowed him.
Needham analyst Rajvindra Gill struck a extra cautious tone on Tesla , highlighting longer-time interval hurdles for the firm. The Model 3 starts at $35,000 (€30k), although the cheapest one that can be purchased at present costs $49,000 (€42.5k).
It had maximum winds of 85mph with higher gusts, with tropical storm force winds extending up to 125 miles from the storms centre. On Friday North Carolina declared a state of emergency, and other states along the East Coast are preparing for the storm.
NBC Sports Digital's live stream of last night's NFL Kickoff game ranks as its most streamed SNF game ever. The struggles in the red zone are nothing new for Atlanta, which ranked 23rd in RZ percentage last season.
IPhone Xc 6.1-inch LCD iPhone might have a nasty surprise
The jump up from the 5.5-inch display on the iPhone 8 Plus to a 6.5-inch display is more than enough to justify a new name. It brings some weight to the fact that Apple is committing to the iPhone X moniker for a significant time in the future.
Packers quarterback Rodgers carted off with leg injury
This is the LAST news any fan of the Green Bay Packers - or of attractive , fantastic football - would ever want to hear. The play that gave the Packers a lead for the first time all game came on a third-and-10 situation.
Four dead including gunman after Cincinnati bank shooting
Cincinnati Mayor John Cranley said the gunman had been "actively shooting innocent victims ", the Associated Press reported. Leonard Cain told The Cincinnati Enquirer he was going inside the bank when someone alerted him there was shooting.
Ex-Trump campaign adviser Papadopoulos sentenced to 14 days
Gordon, former National Security Adviser for the Trump campaign, echoed similar sentiments, while blasting the Mueller probe. He had discussed with those foreigners the possibility of a foreign trip where Donald Trump could meet Vladimir Putin .
Elon Musk's Tesla tumbles as two execs announce exit
Shortly after, HR head Gabrielle Toledano , who'd taken a leave of absence last month, also said she wouldn't return. Rogan told Musk about a small container he bought in Mexico that he had hoped would hold joints.