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.
Charles V, Holy Roman Emperor
Charles was only 56 when he abdicated, but after 40 years of active rule he was physically exhausted and sought the peace of a monastery, where he died at the age of 58. The Holy Roman Empire passed to his younger brother Ferdinand, archduke of Austria, while the Spanish Empire, including the possessions in the Netherlands and Italy, was inherited by Charles's son Philip II of Spain. The two empires would remain allies until the extinction of the House of Habsburg in the 18th century.