The article deals with the process of exiting of Austria from the war with Napoleon. Up to 1813, Austria lost one battle after another, probably experiencing the greatest humiliation in its history at the Battles of Austerlitz and Wagram. It had to abandon the so-called Holy Roman Empire; and eventually, if unwillingly, became an ally of Napoleon's France; Francis II had to marry his own daughter to Napoleon. As the ally of Bonaparte, he was threatened by unpleasant defeat in the war with Russia.