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.
Austrian–Hungarian War (1477–1488)
Matthias and Frederick III/V had been rivals stretching back to Matthias' succession as King of Hungary in 1458 after the early death of Frederick's Habsburg cousin King Ladislaus the Posthumous. At this time, Frederick held the Holy Crown of Hungary and was a candidate for becoming Hungarian king himself. Matthias, backed by the Bohemian king George of Poděbrady whose daughter Catherine (1449–1464) he married in 1461, finally prevailed: the two rivals settled their disagreements in 1463 with the Treaty of Wiener Neustadt, in which Frederick recognized the "de facto" King of Hungary and returned the Holy Crown to Matthias for a heavy ransom.