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.
Legacy of the Roman Empire
From a legal point of view the Roman Empire, founded by Augustus in 27 BC and divided into two "parts" after the death of Theodosius I in 395, had survived only in the eastern part which, with the deposition of the last western emperor Romulus Augustulus, in 476, had also obtained the imperial regalia of the western part reuniting from a formal point of view the Roman Empire.