Socialist Francois Hollande swept to victory in France's presidential election last night in a swing to the left at the heart of Europe that could start resistance to German-led austerity.

Mr Hollande beat conservative incumbent Nicolas Sarkozy decisively, winning 51.9% of the vote to Mr Sarkozy's 48.1%, based on partial results, and bringing the centre-left back to government after a decade in opposition.

Mild-mannered Mr Hollande promised help for France's downtrodden after years under the tough-talking Mr Sarkozy, a man many voters blamed for economic troubles.

Mr Hollande says austerity should no longer be inevitable and European partners should be relieved and not frightened by his presidency.

Mr Hollande told supporters in his electoral fiefdom of Tulle in central France he was "proud to have been capable of giving people hope again".

The outgoing president conceded defeat 20 minutes after the last polls closed, telling supporters he had telephoned Mr Hollande to wish him good luck.

"I bear the full responsibility for this defeat," Mr Sarkozy said, indicating he would withdraw from frontline politics.

"My place can no longer be the same. My involvement in the life of my country will be different from now."

Punished for his failure to rein in 10% unemployment and for his brash personal style, Mr Sarkozy was the 11th eurozone leader in succession to be swept from power since the currency bloc's debt crisis began in 2009.

Jubilant left-wingers celebrated outside Socialist Party headquarters and thronged Paris's Bastille Square, where revellers danced the night away in 1981 when Francois Mitterrand became France's only previous directly elected Socialist president.

Mr Hollande's clear win should give the self-styled "Mr Normal" the momentum to press German Chancellor Angela Merkel to accept a policy shift towards fostering growth in Europe to balance the austerity that has fuelled anger across southern Europe.

His solid margin also positions the Socialists strongly to win a left-wing majority in parliamentary elections next month, especially since the anti-immigration National Front is set to split the right-wing vote and hurt Mr Sarkozy's UMP party.

If it wins that two-round election on June 10 and 17, the Socialist Party would hold more levers of power than ever, with the presidency, both houses of parliament, nearly all regions, and two-thirds of French towns in its hands.

Even before the results were declared, cheering crowds gathered at Socialist headquarters to acclaim the party's first presidential victory since Mr Mitterrand's re-election in 1988. Many waved red flags and some carried roses, the party emblem.

In Bastille Square, flashpoint of the 1789 French Revolution and the left's traditional rallying point for protests and celebrations, activists began partying before the final polls closed and cheered as giant TV screens relayed the results.

Mr Hollande led the race from the start with a programme based on raising taxes, especially on high earners, to finance spending priorities and keep the public deficit capped. He has vowed to balance France's budget by 2017, but economists say he is likely to have to make public spending cuts soon.

Mr Sarkozy's supporters consoled themselves with the fact that the margin could have been worse, preserving their hopes for the parliamentary elections.

"People were talking about an anti-Sarkozy tsunami," Foreign Minister Alain Juppe said. "That's not what happened."