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.
List of rulers of Württemberg
The Holy Roman Empire came to an end in 1806. The Elector of Württemberg, allied to Napoleon I, anticipated its dissolution by becoming the ruler of an independent Kingdom of Württemberg in 1806.
Because of a lack of male heirs under Salic law, on the death of Wilhelm II in 1921 the royal house had to reach back to the descendants of Friedrich II Eugen (ruled 1795–97). The line of the Duke of Urach was excluded because of a morganatic marriage back in 1800 by its forebear Duke William, and so the succession devolved to the younger branch of Altshausen.