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
Serbian nationalism some Štokavian-speaking peoples to call themselves names other than Serbs. Ilija Garašanin was another early proponent of Serbian nationalism and a proponent of a Greater Serbia - a Serbian state whose borders were extended to include all Serbs in the Balkan region. After Serbia was recognized as an independent state in 1878, both South Slavs and the Serbian government considered their peoples in Habsburg-ruled Austria-Hungary to be under occupation resulting in increasing antagonism between Serbia and Austria-Hungary from the late 19th century to the early 20th century. In 1914 Austrian Archduke Franz Ferdinand was assassinated by Bosnian Serb revolutionary Gavrilo