query: Who was the first Austro-Hungarian emperor?
passage: Franz Joseph I of Austria
Franz Joseph I or Francis Joseph I (Franz Joseph Karl; 18 August 1830– 21 November 1916) was Emperor of Austria, King of Hungary, and monarch of many other states of the Austro-Hungarian Empire, from 2 December 1848 to his death.[1] From 1 May 1850 to 24 August 1866 he was also President of the German Confederation. He was the longest-reigning Emperor of Austria and King of Hungary, as well as the third-longest-reigning monarch of any country in European history, after Louis XIV of France and Johann II of Liechtenstein.[2]
passage: Otto von Habsburg
Otto von Habsburg (20 November 1912 4 July 2011), also known by his traditional royal title of Archduke Otto of Austria, was the last Crown Prince of Austria-Hungary from 1916 until the dissolution of the empire in 1919, a realm which comprised modern-day Austria, Hungary, Bosnia and Herzegovina, Croatia, the Czech Republic, Slovakia, Slovenia, and parts of Italy, Montenegro, Poland, Romania, Serbia and Ukraine. He became the pretender to the former thrones, Head of the House of Habsburg-Lorraine, and Sovereign of the Order of the Golden Fleece in 1922, upon the death of his father. He resigned as Sovereign of the Golden Fleece in 2000 and as head of the Imperial House in 2007.