Although he was not a figure of national stature, Moulin was nonetheless elevated to the French executive branch of government by fortuitous circumstances. He happened to be in the capital with his army at a critical moment of political upheaval, the
Coup of 30 Prairial Year VII. Presented as an acceptable alternative to the Directors who were purged in the coup, Moulin was supported by his friend the
vicomte de Barras, and he was appointed to the Directory in June 1799. Moulin did not remain in office for very long. With his appointment – and the simultaneous elevation of
Roger Ducos, a Council deputy supported by the
Abbé Sieyès – the Directory assumed its final incarnation. Moulin, Ducos, Barras, Sieyès, and
Louis-Jérôme Gohier led the Directory until its dissolution after the ''
coup d'état'' of
18 Brumaire. When the ''coup d'état'' occurred, the senior member Barras submitted and the Directory officially resigned. Moulin strongly protested the abrogation of the Directory's powers by the ascendant supporters of Napoleon Bonaparte, but his efforts were ignored. Moulin and Gohier were held prisoners by troops led by General
Jean Victor Marie Moreau until the two signed papers of resignation (10 November 1799). ==Later life==