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 militarism, imperialism, and nationalism, and the war was sparked by the assassination of Archduke Franz Ferdinand of Austria-Hungary by Serbian nationalists.