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. 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.
List of heads of state of Hungary
"After the collapse of the Hungarian Revolution of 1848, the restored Hungarian Kingdom became an integral part of the Austrian Empire until 1867, when dual Austro-Hungarian Monarchy was created and the Hungarian Kingdom was organized as Lands of the Crown of Saint Stephen".