The deaths of Franz Joseph 's brother , Maximilian ( 1867 ) , and his only son , Rudolf made the Emperor 's nephew , Franz Ferdinand , heir to the throne .
The deaths of Franz Joseph 's brother , Maximilian I of Mexico ( 1867 ) , and his only son , Crown Prince Rudolf , made the Emperor 's nephew , Franz Ferdinand , next in line to the crown .