In 1889, Franz Ferdinand's life changed dramatically. His cousin Crown Prince Rudolf committed suicide at his hunting lodge in Mayerling. This left Franz Ferdinand's father, Karl Ludwig, as first in line to the throne. Karl Ludwig died of typhoid fever in 1896. Henceforth, Franz Ferdinand was groomed to succeed to the throne.