Centrist politician Emmanuel Macron was projected to win the French presidential election on Sunday over far-right candidate Marine Le Pen, France's prime minister said.

French Prime Minister Bernard Cazeneuve announced Macron's win in a statement minutes after the last polls closed, according to the Associated Press.

Cazeneuve said that the vote "testifies to the lucidity of the voters who rejected the deadly project of the extreme right" and represented an embrace of the European Union.

Le Pen conceded defeat on Sunday evening, saying France had voted "for continuity." She said she had called Macron to congratulate him and "to wish him success."

The election follows an unprecedented race in which Macron and Le Pen offered two opposing visions of France's future, and the country's political landscape was reshaped after the outsiders pushed aside the two establishment parties, which have dominated French politics for the last fifty years.

The center-left Socialist Party candidate Benoît Hamon crashed out of the race after polling a paltry 6.4 percent in the first-round ballot on April 23, while the center-right Les Republicains candidate, François Fillon, failed to make it through on 20 percent of the vote.

Macron came out top on 24 percent and Le Pen came second polling 21.3 percent of the vote. Left-wing firebrand Jean-Luc Mélenchon finished on 19.6 percent.