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.
Holy Roman Emperor
The Holy Roman Emperor was widely perceived to rule by divine right, though he often contradicted or rivaled the Pope, most notably during the Investiture controversy. 
In theory, the Holy Roman Emperor was "primus inter pares" (first among equals) among other Catholic monarchs. In practice, a Holy Roman Emperor was only as strong as his army and alliances, including marriage alliances, made him. There was never a Holy Roman Empress regnant, though women such as Theophanu and Maria Theresa of Austria served as de facto Empresses regnant.
Throughout its history, the position was viewed as a defender of the Roman Catholic faith. Until the Reformation, the Emperor elect ("imperator electus") was required to be crowned by the Pope before assuming the imperial title. Charles V, Holy Roman Emperor was the last to be crowned by the Pope in 1530. Even after the Reformation, the elected Emperor always was a Roman Catholic. There were short periods in history when the electoral college was dominated by Protestants, and the electors usually voted in their own political interest.