pool
Now playing
01:49
Emmanuel Macron: We will not yield to fear
President of France Emmanuel Macron addresses the United Nations General Assembly on September 25, 2018 in New York City.
John Moore/Getty Images
President of France Emmanuel Macron addresses the United Nations General Assembly on September 25, 2018 in New York City.
Now playing
00:43
Macron fires back at Trump in UNGA speech
Now playing
00:59
See France's President Macron dance on stage
Now playing
01:03
Macron: 'Call me Mr. President'
France's President Emmanuel Macron takes part in a joint press conference with Australia's Prime Minister Malcolm Turnbull (not pictured) at Kirribilli House in Sydney on May 2, 2018. - Macron arrived in Australia on May 1 on a rare visit by a French president with the two sides expected to agree on greater cooperation in the Pacific to counter a rising China. (Photo by Ludovic MARIN / AFP)        (Photo credit should read LUDOVIC MARIN/AFP/Getty Images)
LUDOVIC MARIN/Getty Images
France's President Emmanuel Macron takes part in a joint press conference with Australia's Prime Minister Malcolm Turnbull (not pictured) at Kirribilli House in Sydney on May 2, 2018. - Macron arrived in Australia on May 1 on a rare visit by a French president with the two sides expected to agree on greater cooperation in the Pacific to counter a rising China. (Photo by Ludovic MARIN / AFP) (Photo credit should read LUDOVIC MARIN/AFP/Getty Images)
Now playing
01:12
Macron slip-up: Calls Turnbull's wife 'delicious'
US President Donald Trump and French President Emmanuel Macron plant a tree watched by Trump's wfe Melania and Macron's wife Brigitte on the grounds of the White House April 23, 2018 in Washington,DC. - The tree, a gift from French President Macron, comes from Belleau Woods, near the Marne River in France, where in June 1918 US forces suffered 9,777 casualties, including 1,811 killed in the Belleau Wood battle during World War I. (Photo by JIM WATSON / AFP)        (Photo credit should read JIM WATSON/AFP/Getty Images)
JIM WATSON/AFP/Getty Images
US President Donald Trump and French President Emmanuel Macron plant a tree watched by Trump's wfe Melania and Macron's wife Brigitte on the grounds of the White House April 23, 2018 in Washington,DC. - The tree, a gift from French President Macron, comes from Belleau Woods, near the Marne River in France, where in June 1918 US forces suffered 9,777 casualties, including 1,811 killed in the Belleau Wood battle during World War I. (Photo by JIM WATSON / AFP) (Photo credit should read JIM WATSON/AFP/Getty Images)
Now playing
01:54
What happened to Trump and Macron's tree?
French President Emmanuel Macron speaks to a joint meeting of Congress on Capitol Hill in Washington, Wednesday, April 25, 2018. Standing behind him are Vice President Mike Pence and House Speaker Paul Ryan of Wis. (AP Photo/Pablo Martinez Monsivais)
Pablo Martinez Monsivais/AP
French President Emmanuel Macron speaks to a joint meeting of Congress on Capitol Hill in Washington, Wednesday, April 25, 2018. Standing behind him are Vice President Mike Pence and House Speaker Paul Ryan of Wis. (AP Photo/Pablo Martinez Monsivais)
Now playing
01:12
Macron: No democracy without truth
pool
Now playing
02:49
Macron warns US Congress: There's no Planet B
President Donald Trump and French President Emmanuel Macron walk to the Oval Office on April 24.
Pablo Martinez/AP
President Donald Trump and French President Emmanuel Macron walk to the Oval Office on April 24.
Now playing
02:02
Touchy-feely Trump and Macron
POOL
Now playing
01:42
Trumps welcome Macrons to first state dinner
PARIS, FRANCE - JULY 13:  French President Emmanuel Macron welcomes US President Donald Trump prior to a meeting at the Elysee Presidential Palace on July 13, 2017 in Paris, France. As part of the commemoration of the 100th anniversary of the entry of the United States of America into World War I, US President, Donald Trump will attend tomorrow at the Bastille Day military parade.  (Photo by Thierry Chesnot/Getty Images)
Thierry Chesnot/Getty Images
PARIS, FRANCE - JULY 13: French President Emmanuel Macron welcomes US President Donald Trump prior to a meeting at the Elysee Presidential Palace on July 13, 2017 in Paris, France. As part of the commemoration of the 100th anniversary of the entry of the United States of America into World War I, US President, Donald Trump will attend tomorrow at the Bastille Day military parade. (Photo by Thierry Chesnot/Getty Images)
Now playing
01:51
How the Macron-Trump bromance evolved
France's President Emmanuel Macron speaks during a press conferece Burkina Faso's President Roch Marc Christian Kabore at the Presidential Palace in Burkina Faso on November 28, 2017. / AFP PHOTO / POOL AND AFP PHOTO / LUDOVIC MARIN        (Photo credit should read LUDOVIC MARIN/AFP/Getty Images)
LUDOVIC MARIN/AFP/Getty Images
France's President Emmanuel Macron speaks during a press conferece Burkina Faso's President Roch Marc Christian Kabore at the Presidential Palace in Burkina Faso on November 28, 2017. / AFP PHOTO / POOL AND AFP PHOTO / LUDOVIC MARIN (Photo credit should read LUDOVIC MARIN/AFP/Getty Images)
Now playing
01:22
Macron on human trafficking in Africa
macron intv wife love amanpour_00002920.jpg
macron intv wife love amanpour_00002920.jpg
Now playing
01:28
Macron: Love is part of my life, balance
France's President Emmanuel Macron (2ndR) confers with officials aboard the presidential plane en route to Guadeloupe Island, the first step of his visit to French Caribbean islands, on September 12, 2017.
CHRISTOPHE ENA/AFP/AFP/Getty Images
France's President Emmanuel Macron (2ndR) confers with officials aboard the presidential plane en route to Guadeloupe Island, the first step of his visit to French Caribbean islands, on September 12, 2017.
Now playing
02:49
Macron: St. Martin will be reborn
france macron vs labor unions bell pkg_00013309.jpg
france macron vs labor unions bell pkg_00013309.jpg
Now playing
01:49
Macron faces first test with labor unions
Canadian Prime Minister Justin Trudeau (R) and French President Emmanuel Macron talk as they attend the Summit of the Heads of State and of Government of the G7, the group of most industrialized economies, plus the European Union, on May 26, 2017 in Taormina, Sicily.
The leaders of Britain, Canada, France, Germany, Japan, the US and Italy will be joined by representatives of the European Union and the International Monetary Fund (IMF) as well as teams from Ethiopia, Kenya, Niger, Nigeria and Tunisia during the summit from May 26 to 27, 2017. / AFP PHOTO / POOL / STEPHANE DE SAKUTIN        (Photo credit should read STEPHANE DE SAKUTIN/AFP/Getty Images)
STEPHANE DE SAKUTIN/AFP/AFP/Getty Images
Canadian Prime Minister Justin Trudeau (R) and French President Emmanuel Macron talk as they attend the Summit of the Heads of State and of Government of the G7, the group of most industrialized economies, plus the European Union, on May 26, 2017 in Taormina, Sicily. The leaders of Britain, Canada, France, Germany, Japan, the US and Italy will be joined by representatives of the European Union and the International Monetary Fund (IMF) as well as teams from Ethiopia, Kenya, Niger, Nigeria and Tunisia during the summit from May 26 to 27, 2017. / AFP PHOTO / POOL / STEPHANE DE SAKUTIN (Photo credit should read STEPHANE DE SAKUTIN/AFP/Getty Images)
Now playing
00:55
'Political bromance' brews at G-7 summit
(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.

“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.

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.

01:50 - Source: CNN
How Emmanuel Macron won the French presidency

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

Read: Macron’s tricky to-do list after French election

“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.
GEOFFROY VAN DER HASSELT/AFP/AFP/Getty Images
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.

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.

Around 14.5 gigabytes of emails, personal and business documents were posted to the text-sharing site Pastebin hours before the campaign period came to a close Friday night.

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.

Read: From economic woes to terrorism, a daunting to-do list for France’s next president

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.

Hilary Clarke contributed to this report.