French President Francois Hollande has appointed Interior Minister Bernard Cazeneuve as prime minister until a new president is elected next May.
The appointment on Tuesday followed the resignation of Manuel Valls, who quit to run for president after Mr Hollande himself decided against seeking a second term.
Mr Cazeneuve will play caretaker ahead of the next year's vote, where Marine Le Pen's anti-immigrant, anti-European Union National Front hopes to repeat anti-establishment upsets seen earlier this year in Britain, the United States, and this week in Italy.
"The world has changed drastically in a matter of months," Jean-Marie Le Guen, a minister and close ally of Valls, told RTL radio.
"The extreme right is on the threshold of power. The right is more brutal than anything we've ever seen."
As interior minister since April 2014, Mr Cazeneuve has dealt with Islamist militant attacks that have killed more than 230 people since January 2015. He has also overseen imposition of emergency rule imposed in their wake.
Mr Cazeneuve, 53, a former Europe and budget minister, is known as 'The Cardinal' because of his distant, dead-pan manner.
Polls so far suggest that the Left faces humiliation in next year's presidential election after five years in power. The polls suggest a vote boiling down to a duel between conservative candidate Francois Fillon and Le Pen, with Mr Fillon winning.
Mr Valls first needs to win a Socialist primary in January against tough competition from more traditional leftists.
An Ifop-Fiducial opinion poll published on Tuesday suggested no left-wing candidate would go far in the presidential vote. It gave Valls a score of 10 percent, eliminating him ahead of a Fillon-Le Pen second-round duel that it saw Mr Fillon winning with 65 percent of the vote.
Mr Hollande said his job in the time left was to protect France. "And protect things I deem vital: cohesion, a way of living, freedom, and a social welfare model that unites us."Reuters