Flags of the Holy Roman Empire
In 1804, Napoleon Bonaparte declared the First French Empire. In response to this, Emperor Francis II of the Habsburg dynasty declared his personal domain to be the Austrian Empire and became Francis I of Austria. Taking the colours of the banner of the Holy Roman Emperor, the flag of the Austrian Empire was black and gold. Francis II was the last Holy Roman Emperor, with Napoleon forcing the empire's dissolution in 1806. After this point, these colours continued to be used as the flag of Austria until 1918.
Francis II, Holy Roman Emperor
In 1813, for the fourth and final time, Austria turned against France and joined Great Britain, Russia, Prussia and Sweden in their war against Napoleon. Austria played a major role in the final defeat of France—in recognition of this, Francis, represented by Clemens von Metternich, presided over the Congress of Vienna, helping to form the Concert of Europe and the Holy Alliance, ushering in an era of conservatism in Europe. The German Confederation, a loose association of Central European states was created by the Congress of Vienna in 1815 to organize the surviving states of the Holy Roman Empire. The Congress was a personal triumph for Francis, who hosted the assorted dignitaries in comfort, though Francis undermined his allies Tsar Alexander and Frederick William III of Prussia by negotiating a secret treaty with the restored French king Louis XVIII.