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.
Roman emperor
This line of Emperors lasted until 1806 when Francis II dissolved the Empire during the Napoleonic Wars. Despite the existence of later potentates styling themselves "emperor", such as the Napoleons, the Habsburg Emperors of Austria, and the Hohenzollern heads of the German Reich, this marked the end of the Western Empire. Although there is a living heir, Karl von Habsburg, to the Habsburg dynasty, as well as a Pope and pretenders to the positions of the electors, and although all the medieval coronation regalia are still preserved in Austria, the legal abolition of all aristocratic prerogatives of the former electors and the imposition of republican constitutions in Germany and Austria render quite remote any potential for a revival of the Holy Roman Empire.