Right-wing candidate defeated in Austrian presidential election
Alexander Van der Bellen, who preached moderation and tolerance, has won Austria's presidential election over right-wing populist Norbert Hofer.
Preliminary results, released shortly after the polls closed on Sunday, showed Mr Van der Bellen, former head of the Greens, with 53.5% of the vote and Mr Hofer having 46.4%.
Mr Hofer said in a Facebook post that he was "endlessly sad" about his loss, adding: "I would have been happy to take care of our Austria."
He congratulated his rival and urged Austrians to "stick together and to work together".
While the final result will not be official until absentee votes are counted on Monday, officials said the outstanding ballots will not change the outcome, even if the percentages the candidates won may vary.
The Austrian president's functions are largely ceremonial and past elections have merited little attention outside the country because they were decided between mainstream candidates. This time, though, the contest was different because the vote was seen as an indicator of how well Eurosceptic candidates will do elsewhere in the EU next year.
Mr Van der Bellen is pro-European Union and represents liberal to left-of-centre views while Mr Hofer comes from the Eurosceptic anti-migrant Freedom Party. His campaign message has varied from hard-line when talking to Freedom Party supporters to more moderate when trying to woo undecided voters disenchanted with the political establishment.
The election was a rerun from May, which Mr Van der Bellen won by less than one percentage point. It was re-held following a court ruling after Mr Hofer's Freedom Party claimed widespread irregularities.
Mr Van der Bellen noted the outsize attention the election in Austria was receiving.
"What happens here today has relevance for all of Europe," he said before casting his ballot.
Other populist politicians in the EU who want their countries out of the bloc were supportive of Mr Hofer ahead of elections they will face next year. Both far-right National Front leader Marine Le Pen of France and anti-immigrant politician Geert Wilders in the Netherlands tweeted their support.
German vice chancellor Sigmar Gabriel, who heads Germany's centre-left Social Democrats, told the Bild newspaper: "A load has been taken off the mind of all of Europe."
He called the result "a clear victory for good sense against right-wing populism".
Ulrich Kelber, a deputy German justice minister and Social Democrat, said: "Perhaps (Donald) Trump's election was the turning point. The liberal majority pushes back."