Holy Roman Empire
The empire was dissolved on 6 August 1806, when the last Holy Roman Emperor Francis II (from 1804, Emperor Francis I of Austria) abdicated, following a military defeat by the French under Napoleon at Austerlitz (see Treaty of Pressburg). Napoleon reorganized much of the Empire into the Confederation of the Rhine, a French satellite. Francis' House of Habsburg-Lorraine survived the demise of the empire, continuing to reign as Emperors of Austria and Kings of Hungary until the Habsburg empire's final dissolution in 1918 in the aftermath of World War I.
Electorate of Württemberg
The Electorate of Württemberg was a short-lived State of the Holy Roman Empire on the right bank of the Rhine river. In 1803, Napoleon raised the Duchy of Württemberg to the Electorate of Württemberg, the highest form of a princedom in the Holy Roman Empire. However, soon afterward, on 1 January 1806 the last Elector assumed the title of King of Württemberg. Later, the last Emperor, Francis II, abolished (de facto) the Empire in 6 August 1806.