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.
Ostrogothic Ravenna
In 476 the last emperor of the Western Roman Empire, Romulus Augustus, was forced to abdicate under invasions by Goths led by Odovacar. Upon the sacking of Rome by these Goths, Odovacar declared himself King of Italy and was able to conquer the peninsula as well as much of the "Dalmatian coast". Odovacar drew the ire of the imperial court at Constantinople as "a barbarian, a non-Roman, had deposed the Roman emperor in the original heartland of the empire. He had taken on the hated royal title and was getting ready to rule in the emperor’s place..." Odovacar, however, issued his coinage in the name of the emperor Nepos, whom Constantinople had never removed its recognition of when Romulus had assumed the imperial title therefore painting himself as merely overthrowing a previous usurper to the imperial throne.