French President Emmanuel Macron appointed Gabriel Attal, his 34-year-old education minister, as prime minister on Tuesday. Analysts view the move as a bid by Macron to reinvigorate his presidency ahead of European Parliament elections in the spring and to shore up his legacy as he finishes his last years in office.