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.
King of the Romans
Originally all noblemen present could vote by unanimous acclamation, but later a franchise was granted to only the most eminent bishops and noblemen, and according to the Golden Bull of 1356 issued by Emperor Charles IV only the seven Prince-electors had the right to participate in a majority voting as determined by the 1338 Declaration of Rhense. They were the Prince-Archbishops of Mainz, Trier and Cologne as well as the King of Bohemia, the Count Palatine of the Rhine, the Saxon duke, and the Margrave of Brandenburg. After the Investiture Controversy, Charles intended to strengthen the legal status of the "Rex Romanorum" beyond Papal approbation. Consequently, among his successors only Sigismund and Frederick III were still crowned Emperors in Rome and in 1530 Charles V was the last king to receive the Imperial Crown at the hands of the Pope (in Bologna). The Golden Bull remained effective as constitutional law until the Empire's dissolution in 1806.