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.
Kingdom of Arles
In 1365, Charles was the last emperor to be crowned King of Arles. In 1378, Charles appointed the Dauphin of France (later King Charles VI of France) as permanent Imperial vicar to administer nominally on behalf of the Empire what remained of Arelat, and from then on Arelat in effect ceased to exist. However, the title "King of Arles" remained one of the Holy Roman Emperor's subsidiary titles until the dissolution of the Empire in 1806, and the office of the Archbishop of Trier continued to act as an archchancellor and prince-elector for the King of the Romans (the designated future Holy Roman Emperor), a status that was confirmed by the Golden Bull of 1356.