linguistic:paraphrasing
Wars with France

As the head of the Holy Roman Empire and the ruler of the vast multi-ethnic Habsburg hereditary lands, Francis felt threatened by the French revolutionaries and later Napoleon's expansionism as well as their social and political reforms which were being exported throughout Europe in the wake of the conquering French armies. Francis had a fraught relationship with France. His aunt Marie Antoinette, the wife of Louis XVI and Queen consort of France, was guillotined by the revolutionaries in 1793, at the beginning of his reign, although, on the whole, he was indifferent to her fate.

Later, he led the Holy Roman Empire into the French Revolutionary Wars. He briefly commanded the Allied forces during the Flanders Campaign of 1794 before handing over command to his brother Archduke Charles. He was later defeated by Napoleon. By the Treaty of Campo Formio, he ceded the left bank of the Rhine to France in exchange for Venice and Dalmatia. He again fought against France during the War of the Second Coalition.

On 11 August 1804, in response to Napoleon crowning himself as emperor of the French earlier that year, he announced that he would henceforth assume the title of hereditary emperor of Austria as Francis I, a move that technically was illegal in terms of imperial law. Yet Napoleon had agreed beforehand and therefore it happened.