Why did World War 1 take place?

WWI was triggered by the assassination of Archduke Franz Ferdinand and his wife by the Serbian Black Hand terrorists in Sarajevo on June 28, 1914.