Gabriel Attal has been appointed France's new prime minister (PM), making him the youngest official to hold the position.

The 34-year-old education minister was appointed to the post on Tuesday, and is one of the country’s most popular politicians, according to recent opinion polls.

‘’I know I can count on your energy and your commitment,” French President Macron posted on X in a message to Attal.

Attal replaces the outgoing Prime Minister Elisabeth Borne who resigned on Monday amid a cabinet reshuffle as Macron hopes to give new momentum to the final three years of his presidency.

Under the French political system, the prime minister is appointed by the president and is held accountable to the parliament. As such, Attal will be in charge of implementing domestic policy, most notably economic measures, and coordinating the government’s team of ministers.

Macron's move to get Attal on board is being seen as a boost of popularity before the European Parliament elections in June.