Paris (CNN) France's president-elect Emmanuel Macron has promised to "fight the divisions that undermine France," after defeating far-right candidate Marine Le Pen.

Macron has won 66.06% of the vote with 99.99% of registered votes counted, France's interior ministry said.

In a clear rejection of France's mainstream parties, voters have turned to the 39-year-old to help bring unity to a deeply fractured country.

The result is remarkable considering Macron, a centrist independent, campaigned without a traditional party and with no experience of governing.

Macron addresses Le Pen voters: "I will...make sure there is no reason at all to vote for extremes" https://t.co/U7IOKFRUjt pic.twitter.com/NUlL7QZXWw

"I know the country is divided and this has led to people voting for extremes," Macron said in a speech at his team's headquarters.

"I understand the anger, the anxiety, the doubt which many of you have expressed and it is my responsibility to hear that.

"A new page of our history has turned this evening, I want that page to be one of hope and refound trust, the renewal of our public life, will be at the base of what I do from the very first day of our Presidency."

Macron's long walk

Later Sunday night, Macron addressed thousands of supporters outside the Louvre in Paris where he also attempted to reach out to those who had voted for Le Pen.

After taking a long walk towards the stage to Ludwig van Beethoven's "Ode to Joy," the anthem of the European Union, Macron spoke of the need for unity.

French President-elect Emmanuel Macron's long walk to his victory rally was soundtracked by EU anthem 'Ode To Joy' https://t.co/D0Mnfkd61t pic.twitter.com/gxaEB05cRR — CNN (@CNN) May 7, 2017

He chided his supporters for booing at the mention of Le Pen's name and instead urged the country to come together.

"I also want to say a word for those who voted today for Madame Le Pen," he said. "No, don't boo -- they expressed today anger, dismay and sometimes convictions.

"I respect them but I will do everything during the five years to come to make sure there is no reason at all to vote for extremes."

Le Pen concedes, Europe rejoices

Earlier, Le Pen told supporters she had called to congratulate Macron after exit estimates projected a heavy defeat for the far-right candidate.

"The French have chosen a new president," Le Pen told supporters.

"I have called Mr. Macron to congratulate him on his election and I wished him success in this very senior post he is going to occupy and also the great challenges in front of him.

"We have seen a major decomposition of French political life, of the old political mainstream parties and what we see now is a real new configuration which is emerging between the patriots and the new liberals," she added.

JUST WATCHED How Emmanuel Macron won the French presidency Replay More Videos ... MUST WATCH How Emmanuel Macron won the French presidency 01:50

French president Francois Hollande said that he had called Macron to "warmly" congratulate him on his victory.

"His large victory confirms that a very large majority of our citizens wanted to assemble around the values of the Republic and mark their attachment to the European Union as well as to the openness of France in the world," Hollande said in a statement.

A man, flanked by a young woman, waves a French national flag next to people gesturing and shouting on the French avenue of the Champs Elysees by the Arc de Triomphe.

The scenes of jubilation extended beyond France.

JUST WATCHED What to know about Emmanuel Macron Replay More Videos ... MUST WATCH What to know about Emmanuel Macron 01:32

European Commission chief Jean-Claude Juncker wrote on Twitter that he was "happy that the French chose a European future," while president of the European Council Donald Tusk congratulated the "French people for choosing Liberty, Equality and Fraternity over tyranny of fake news."

British Prime Minister Theresa May and German Chancellor Angela Merkel were also quick to send their congratulations to Macron, who has been outspoken of his desire to work with France's European partners.

US President Donald Trump and Chinese President Xi Jinping also congratulated Macron, with Trump writing on Twitter: "Congratulations to Emmanuel Macron on his big win today as the next President of France. I look very much forward to working with him!"

Eleventh hour hack

The two-round election, which has played out like something of a soap opera, had been hit with another scandal at the eleventh hour, when Macron's campaign announced it had been the target of a "massive and coordinated" hacking operation

Macron's party said the hackers had mixed fake documents with authentic ones "to create confusion and misinformation." It is not clear who was behind the attack.

With the presidential election almost wrapped, attention will soon turn to the parliamentary contest.

Macron, whose party En Marche! is less than a year old, is starting from scratch.

If he does not persuade enough voters to back his candidates, he will have to strike deals with other parties in order to push through his legislative agenda.