<P> After Habsburg - controlled Austria declared war on France on 12 March 1799, emergency measures were adopted and the pro-war Jacobin faction triumphed in the April election . With Napoleon and the republic's best army engaged in the Egypt and Syria campaign, France suffered a series of reverses on the battlefield in the spring and summer of 1799 . The Coup of 30 Prairial VII (18 June) ousted the Jacobins and left Emmanuel Joseph Sieyès, a member of the five - man ruling Directory, the dominant figure in the government . France's military situation improved following the Second Battle of Zurich, fought on 25--26 September . As the prospect of invasion receded, the Jacobins feared a revival of the pro-peace Royalist faction . When Napoleon returned to France on 9 October, both factions hailed him as the country's savior . </P> <P> Dazzled by Napoleon's campaign in the Middle East, the public received him with an ardor that convinced Sieyès he had found the general indispensable to his planned coup . However, from the moment of his return, Napoleon plotted a coup within the coup, ultimately gaining power for himself rather than Sieyès . </P> <P> Perhaps the gravest potential obstacles to a coup were in the army . Some generals, such as Jean - Baptiste Jourdan, honestly believed in republicanism; others, such as Jean Bernadotte, believed themselves capable of governing France . Napoleon worked on the feelings of all, keeping secret his own intentions . </P> <P> Prior to the coup, troops were conveniently deployed around Paris . The plan was, first, to persuade the Directors to resign, then, second, to get the Council of Ancients and the Council of Five Hundred (the upper and lower houses of the legislature) to appoint a pliant commission that would draw up a new constitution to the plotters' specifications . </P>

What was the coup d'etat in the french revolution