Franz Joseph I ( in German Franz Josef , in Hungarian Ferenc JÃ zsef , in English Francis Joseph ) ( August 18 , 1830 -- November 21 , 1916 ) of the Habsburg Dynasty was Emperor of Austria , King of Hungary , King of Bohemia from 1848 until 1916 . Franz Joseph I or Francis Joseph I ( , , see the name in other languages ; 18 August 1830 -- 21 November 1916 ) was Emperor of Austria , King of Bohemia , King of Croatia and Apostolic King of Hungary from 1848 until 1916 .