French President Emmanuel Macron announced on Wednesday that he will appoint a new prime minister within the next 48 hours, ruling out other options for now amid a political storm in the country.

The appointment of a successor to the resigned Prime Minister Sébastien Lecornu, who unexpectedly resigned on Monday, is expected to temporarily steer France away from the possibility of calling early legislative elections—another option available to the French president but one that could push the EU’s second-largest economy into further uncertainty.

The Élysée announcement about the expected appointment before the weekend came after Lecornu spent the two days following his resignation, at the president’s request, gauging parliamentary support to see if there was enough backing in the National Assembly, the lower and more influential chamber of parliament, to form a new government.

Lecornu concluded that such support exists, although Macron’s camp and allies do not hold a majority in the National Assembly, and despite the president’s successive appointments of minority government heads failing one after another over the past year.

A presidential statement said that after consultations with political parties, Lecornu concluded that the majority of National Assembly deputies do not want early legislative elections and that it is “possible” to reach an agreement on the 2026 budget before the end of this year.

The statement added: “Based on this, the President of the Republic will appoint a new prime minister within 48 hours,” without indicating who Macron will choose.

Lecornu clarified that he will not be the person appointed this time.