What Were the Causes of WW1?

WW1 was cause due to the death of Archduke Franz Ferdinand and his wife.They were assassinated in July 1914 by terrorist. And action was taken to defend their deaths.