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.
Historiography of the fall of the Western Roman Empire
In June 474, Julius Nepos became Western Emperor but in the next year the "magister militum" Orestes revolted and made his son Romulus Augustus emperor. Romulus, however, was not recognized by the Eastern Emperor Zeno and so was technically an usurper, Nepos still being the legal Western Emperor. Nevertheless, Romulus Augustus is often known as the last Western Roman Emperor. In 476, after being refused lands in Italy, Orestes' Germanic mercenaries under the leadership of the chieftain Odoacer captured and executed Orestes and took Ravenna, the Western Roman capital at the time, deposing Romulus Augustus. The whole of Italy was quickly conquered, and Odoacer was granted the title of patrician by Zeno, effectively recognizing his rule in the name of the Eastern Empire. Odoacer returned the Imperial insignia to Constantinople and ruled as King in Italy. Following Nepos' death Theodoric the Great, King of the Ostrogoths, conquered Italy with Zeno's approval.