LONDON - Global financial markets appeared to breathe a sigh of relief after the results of the first round of the French presidential election, with France’s main stock index hitting its highest level since early 2008.

Though Marie Le Pen of the far-right National Front came second with 21.5 percent of the vote and will contest the runoff on May 7, the favorite to be the country’s next president is the centrist Emmanuel Macron, who came top with around 24 percent.

“The opinion polls were right for once and a strong showing for centrist liberal reformer Emmanuel Macron in the first round of the French election has raised hopes of growth-boosting labour market reforms and EU cooperation,” said Jessica Hinds, European economist with Capital Economics, in a note.

Following Britain’s vote to leave the European Union and Donald Trump’s surprise victory in the U.S. presidential election, the hope in the markets is that the rise of populism around the world - and the associated potential unpredictability in policymaking - may have peaked.

Get Breaking News Delivered to Your Inbox

The prospect of a Macron presidency has certainly been viewed positively in the markets, with the CAC 40 stock index in Paris surging 4.5 percent on Monday morning to 5,289. Germany’s DAX gained 2.5 percent to 12,354.94, while Britain’s FTSE 100 rose 1.6 percent to 7,230.84. U.S. shares were also set to drift higher with Dow futures up 0.9 percent at 20,677.

Other European benchmarks have risen strongly as well. The STOXX 600 index of leading European shares was up 2 percent, while the euro struck five-month highs against the dollar of $1.0937 as the results first emerged. It’s since given up some of those gains but remains solid at $1.0860.

“The first round of the French elections was unremarkable in one sense: the result came in very close to the indications from the opinion polls,” said Steven Bell, chief economist at BMO Global Asset Management. “But the extent of the market reaction shows how nervous investors were, worried that the actual polls would deliver another shock result.”

The result was very much in line with opinion polls, shoring up confidence in the markets that the pollsters’ number-crunchers will get round 2 right, too, with Macron winning by around 20 percentage points. Endorsements for Macron from the established French parties of the center-right and center-left will likely make it even tougher for Le Pen to get an absolute majority in the second vote.

“It would take a numerical shock perhaps 5-10 times larger than Brexit or Trump for Le Pen to win,” said Jim Reid, a strategist at Deutsche Bank.

Marine Le Pen, French National Front political party leader and candidate for French 2017 presidential election, arrives at her campaign headquarters in Paris, France, April 24, 2017. REUTERS/Charles Platiau

The view in the markets is that Macron, a 39-year-old former banker, will be a steadier hand at the tiller compared with Le Pen, who wants to clamp down on immigration, tighten borders in the wake of a wave of terrorist attacks and has proposed pulling France out of the European Union and its euro currency.

Macron was an economy minister in Socialist President Francois Hollande’s administration but grew frustrated at his inability to push through the reforms that he thinks are necessary to get the economy and public finances in better shape. He’s also strongly in favor of keeping the country open and is pro-EU.

Still, if the last year has taught anything, it’s that nothing is over until all the votes have been cast. After all, a few months ago, Francois Fillon, the candidate from the center-right Les Republicains, was favorite to succeed Hollande before a scandal involving his wife’s employment status derailed his campaign.

“It will be interesting to see whether the same complacency that left us surprised last June - when the U.K. voted to leave the EU - creeps back into the markets in the coming weeks,” said Craig Erlam, senior market analyst at OANDA.

In Asia trading, Japan’s benchmark Nikkei 225 rose 1.4 percent to finish at 18,875.88. Australia’s S&P/ASX 200 gained 0.3 percent to 5,871.80. South Korea’s Kospi added 0.4 percent to 2,173.74. Hong Kong’s Hang Seng added 0.5 percent to 24,164.24, while the Shanghai Composite fell 1.4 percent to 3,129.53.