Early modern period
In the early modern period, the Holy Roman Empire was a union of territories in Central Europe under a Holy Roman Emperor the first of which was Otto I. The last was Francis II, who abdicated and dissolved the Empire in 1806 during the Napoleonic Wars. Despite its name, for much of its history the Empire did not include Rome within its borders.
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.