Emmanuel Macron has been re-elected as president of France with 58.5% of the vote, the interior ministry said early Monday, announcing the provisional result after all ballots have been counted.
His far-right rival Marine Le Pen got 41.45% of the vote.
The election had gone to a second round pitting pro-European, liberal Macron against Le Pen of the nationalist Rassemblement National (National Rally) party. Twelve candidates competed in the first round of voting on April 10.
The traditional mainstream parties of the Socialists and Republicans brought in historically poor results.
Turnout for Sunday's run-off was 72%, the interior ministry said.
Macron said he now looks ahead to governing in a "benevolent and respectful way."
Macron acknowledged France is "deep in doubt and division" and he promised that "no one will be left by the wayside," as he addressed cheering supporters in the shadow of the Eiffel Tower in Paris.
"The years ahead will certainly be difficult, but they will be historic, and we will have to write them together for the coming generations," Macron said.
Referring to voters who backed his rival, Macron said, "the anger and dissent that led them to vote for this must also find a response. That will be my responsibility and that of those who surround me." He added: "I am no longer the candidate of one camp, but the president of all."
Macron tried to alter his image as a politician from the Paris elite during campaigning, after being repeatedly criticized for arrogance and condescension.
Le Pen, 53, conceded defeat but she said the result nevertheless represented "a radiant victory" for the people of France.
Macron, 44, is seen as having benefited from the public's desire for stability and centrist policies in the face of Russia's ongoing war in Ukraine. He has also had successes in the labour market and a robust take-off of the French economy after the pandemic.
But Le Pen, of nationalist Rassemblement National (National Rally) party, won over voters by arguing the president's free market economic prescriptions and pro-EU views were hurting them.
"This result is a testimony to the great distrust of the French people towards them," Le Pen said in her concession speech, referring to those in power in France and the European Union.
"A thousand times we have been buried," Le Pen said of her party. She said she would continue to do battle with Macron over immigration, insecurity and the raising of the retirement age.
European Commission President Ursula von der Leyen congratulated Macron in a tweet, saying, "I am pleased to be able to continue our good cooperation."
European Council President Charles Michel meanwhile expressed relief at Macron's re-election. "In these troubled times, we need a strong Europe and a France fully committed to a more sovereign and strategic European Union," he tweeted in French.
German Chancellor Olaf Scholz welcomed Macron's re-election as a sign of people's commitment to Europe.