Emperor of Austria in 1875. As Ferdinand I had no sons, his brother Francis Charles would have become emperor, but was persuaded by his wife to pass over the right of succession to their son, Francis Joseph. He accepted the duty of the Emperor of Austria without having been Crown Prince or "Thronfolger" before. Francis Joseph's only son Rudolf committed suicide in 1889, Francis Joseph's brother Karl Ludwig died in 1896. Karl Ludwig's son Franz Ferdinand became heir presumptive to the throne. He was assassinated in Sarajevo, Bosnia in 1914; due to his morganatic marriage, his son had no rights to the throne.
Austria–Serbia relations of Serbian revolts during the 1848 Revolutions were not opposed by the Habsburg rulers. Serbian claims were not recognized by Hungary was eventually placated with the Austro-Hungarian Compromise of 1867, further angering Serbian nationalists. One notable flare-up between the two countries was the 1906-1909 economic conflict known as the Pig War which occurred simultaneously with the diplomatic and military crisis over the Austrian annexation of Bosnia. Ultimately, the tensions between the two countries could not withstand the strain of Assassination of Archduke Franz Ferdinand of Austria by Bosnian Serbs in 1914. Following the July Crisis, Austria invaded Serbia to punish