Francis II, Holy Roman Emperor
Francis II (; 12 February 1768 – 2 March 1835) was the last Holy Roman Emperor, ruling from 1792 until 6 August 1806, when he dissolved the Holy Roman Empire of the German Nation after the decisive defeat at the hands of the First French Empire led by Napoleon at the Battle of Austerlitz. In 1804, he had founded the Austrian Empire and became Francis I, the first Emperor of Austria, ruling from 1804 to 1835, so later he was named the one and only "Doppelkaiser" (double emperor) in history.
For the two years between 1804 and 1806, Francis used the title and style "by the Grace of God elected Roman Emperor, ever Augustus, hereditary Emperor of Austria" and he was called the "Emperor of both the Holy Roman Empire and Austria". He was also Apostolic King of Hungary and Bohemia as Francis I. He also served as the first president of the German Confederation following its establishment in 1815.
Roman emperor
This line of Roman emperors was actually generally Germanic rather than Roman, but maintained their Roman-ness as a matter of principle. These emperors used a variety of titles (most frequently ""Imperator Augustus"") before finally settling on "Imperator Romanus Electus" ("Elected Roman Emperor"). Historians customarily assign them the title "Holy Roman Emperor", which has a basis in actual historical usage, and treat their "Holy Roman Empire" as a separate institution. To Latin Catholics of the time, the Pope was the temporal authority as well as spiritual authority, and as Bishop of Rome he was recognized as having the power to anoint or crown a new Roman emperor. The last man to be crowned by the pope (although in Bologna, not Rome) was Charles V. All his successors bore only a title of "Elected Roman Emperor".