Early modern period
In the early modern period, the Holy Roman Empire was a union of territories in Central Europe under a Holy Roman Emperor the first of which was Otto I. The last was Francis II, who abdicated and dissolved the Empire in 1806 during the Napoleonic Wars. Despite its name, for much of its history the Empire did not include Rome within its borders.
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.