Franz Joseph I of Austria the Empire on 6 October 1908. However a diplomatic crisis erupted, as both the Serbs and the Italians demanded compensation for the annexation, which the Austro-Hungarian government refused to entertain. The incident was not resolved until the revision of the Treaty of Berlin in April 1909, exacerbating tensions between Austria-Hungary and the Serbs. On 28 June 1914 Franz Joseph's nephew and heir Archduke Franz Ferdinand, and his morganatic wife Sophie, Duchess of Hohenberg, were assassinated by Gavrilo Princip, a Yugoslav nationalist of Serbian ethnicity, during a visit to Sarajevo. When he heard the news of the assassination, Franz Joseph said
Serbs internationally until the Congress of Berlin in 1878. Serbia fought in the Balkan Wars of 1912–13, which forced the Ottomans out of the Balkans and doubled the territory and population of the Kingdom of Serbia. In 1914, a young Bosnian Serb student named Gavrilo Princip assassinated Archduke Franz Ferdinand of Austria, which directly contributed to the outbreak of World War I. In the fighting that ensued, Serbia was invaded by Austria-Hungary. Despite being outnumbered, the Serbs subsequently defeated the Austro-Hungarians at the Battle of Cer, which marked the first Allied victory over the Central Powers in the war. Further victories