Bonaparte continued his military studies and entered the army. Bourrienne prepared for a diplomatic career, studying in Vienna and then at Leipzig. Appointed Secretary of the Legation at Stuttgart he remained there during the first years of the French Revolution, flouting orders to return. He did not come home until the spring of 1792, so his name was on the list of emigrants, a potentially dangerous classification. Reunited with Bonaparte in Paris, they enjoyed bachelor life together, and among other incidents of that exciting time were horrified witnessing the rabble mobbing the royal family in the Tuileries (June 20) and the massacre of the Swiss Guards at the same spot (August 10). After that Bourrienne returned to his family home in Sens. Following the affair of 13 Vendémiaire (October 5, 1795) he moved back to Paris and again associated with Bonaparte, who was then second in command of the Army of the Interior and who soon left to command the Army of Italy. The spectacularly victorious general urgently summoned Bourrienne to Italy for the long negotiations with Austria (May–October 1797), where his knowledge of law and diplomacy was useful in drafting the terms of the Treaty of Campo Formio (October 7). Bourrienne recognized that his friend was likely to become a major historical figure, so he began making notes and filing copies of pertinent documents. In November 1797 his name was removed from the list of emigrants.