World War I was a global war centered in Europe that began in 1914 and lasted until 1918. It involved over 30 countries that were part of the Allies or the Central Powers. Tensions had been building in Europe for years prior to the war due to imperialism, militarism, and secret alliances between countries that were triggered by the assassination of Archduke Franz Ferdinand of Austria-Hungary in June 1914.