Franz Ferdinand was the eldest son of the archduke Charles Louis, who was the brother of the emperor Franz Joseph. The death of the heir apparent, Archduke Rudolf, in 1889 made Franz Ferdinand next in succession to the Austro-Hungarian throne after his father, who died in 1896. But because of Franz Ferdinand’s ill health in the 1890s, his younger brother Otto was regarded as more likely to succeed, a possibility that deeply embittered Franz Ferdinand. His desire to marry Sophie, countess of Chotek, a lady-in-waiting, brought him into sharp conflict with the emperor and the court. Only after renouncing his future children’s rights to the throne was the morganatic marriage allowed in 1900.