On June 28, 1914, Gavrilo Princip, a 19-year-old Bosnian Serb nationalist, shot Archduke Franz Ferdinand, heir to the Austro-Hungarian throne, and his wife Sophie, Duchess of Hohenberg, during a motorcade in Sarajevo, Bosnia. The assassination followed a failed bomb attempt by co-conspirator Nedeljko Cabrinovic earlier in the procession. Princip fired when the archduke's car made a wrong turn. Both victims died within the hour. Austria-Hungary's subsequent ultimatum to Serbia activated the European alliance system, and within five weeks the continent was at war.