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.
Holy Roman Emperor
After the coronation of Charlemagne, his successors maintained the title until the death of Berengar I of Italy in 924. The comparatively brief interregnum between 924 and the coronation 
of Otto the Great in 962 is taken as marking the transition from the Frankish Empire to the Holy Roman Empire.
Under the Ottonians, much of the former Carolingian kingdom of Eastern Francia fell within the boundaries of the Holy Roman Empire.