1848: Franz Joseph, 18, succeeds his uncle Ferdinand at Olmütz
In 1848 the imperial family took refuge at Olmütz, now Olomouc. Emperor Ferdinand abdicated there, and his 18-year-old nephew Franz Joseph succeeded him.
habsburger.net says the abdication of the enfeebled emperor was used to give the dynasty an active role again, with a spectacular handover of power. Franz Joseph reigned for 68 years, until his death at Schönbrunn in 1916.