Updated

French centrist Emmanuel Macron has already achieved an immense task: A former outsider with little political experience, he is now the front-runner in France's presidential race, banking on a promise to revive the country through radical pro-business measures and pro-European policies.

And the 39-year-old independent held his own against his more-experienced far-right rival Marine Le Pen in a bruising debate this week — just the boost Macron needed for Sunday's presidential runoff.

His solid, intellectual performance showed voters that despite his young age he has the shoulders to helm a nuclear power.

He has been a star student, champion of France's tech startup movement, an investment banker and economy minister — but has never held elected office. That, and his wide-eyed message of hope, is part of his appeal to a disillusioned electorate.

The strong advocate of a free market and entrepreneurial spirit has called for France to focus on getting benefits from globalization rather than the protectionist policies advocated by the far right.

In his political rallies, Macron encourages supporters to wave both the French tricolor and the European Union flags.

Le Pen, who has tapped into working class anger at the loss of their jobs and once-secure futures, calls Macron the face of "the world of finance," the candidate of "the caviar left."

"I'm not under control of the banks. If that was the case, I would have kept working for them," Macron answered.

Macron had an unexpected test of his political skills last week during what became known as "the battle of Whirlpool," when Le Pen upstaged him at a Whirlpool factory in Amiens that is threatened with closure.

Le Pen's surprise appearance put him on the defensive and prompted him to meet with angry Whirlpool workers later the same day. He was whistled and booed when he first arrived. But he stood his ground, patiently debating workers in often heated exchanges about how to stop French jobs from moving abroad.

Macron promised to shake up the political landscape by appointing a government including new figures from business and civil society.

In a country shaken by recent terror attacks, he pledged to boost the police and military as well as the intelligence services and to put pressure on internet giants to better monitor extremism online.

To improve Europe's security, he wants the EU to deploy some 5,000 European border guards to the external borders of the bloc's passport-free travel zone.

Macron doesn't run his campaign alone: His wife is never far away. Brigitte Macron, 24 years his senior, is his closest adviser. She has been by his side during the campaign, supporting him and helping prepare his speeches.

Macron and his wife have publicly described how their unusual romance started — when he was a student at the high school where she was teaching in Amiens in northern France. A married mother of three at the time, she was supervising the drama club. Macron, a literature lover, was a member.

Macron moved to Paris for his last year of high school. "We called each other all the time, we spent hours on the phone, hours and hours," Brigitte Macron recalled in a televised documentary. "Little by little, he overcame all my resistances in an unbelievable way, with patience."

She eventually moved to the French capital to join him, and divorced. They married in 2007.

Emmanuel Macron says he would formalize the job of first lady if he wins the election, and says "she has her word to say in this."

Macron has already experienced the challenge of reforming France.

He quit his job as a banker at Rothschild to become Socialist President Francois Hollande's economic adviser, working for two years by Hollande's side at the presidential palace.

Then as economy minister in Hollande's government from 2014 to 2016, he promoted a package of measures, notably allowing more stores to open on Sundays and evenings and opening up regulated sectors of the economy.

Opponents on the left accused him of destroying workers' protections. Tens of thousands of people poured into the streets for months of protests across France, and the government had to force the law through parliament under special powers.

Macron launched his own political movement, En Marche! — In Motion! — to support his candidacy last year, then quit the government a few months later.