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. on 28 june, 1914, the heir visited the bosnian capital, sarajevo. bosnian serb militants of the group mlada bosna attacked franz ferdinand's motorcade and assassinated him.