answer: More immediately, the assassination of Archduke Franz Ferdinand of Austria , the heir to the throne of Austria-Hungary, on 28 June 1914 by Yugoslav nationalist Gavrilo Princip in Sarajevo triggered a diplomatic crisis when Austria-Hungary subsequently delivered an ultimatum to the Kingdom of Serbia .