World War 1 took place from 1914 to 1918. It started with the assassination of Archduke Ferdinand of Austria-Hungary by a Serbian nationalist in 1914. This sparked a chain reaction of countries declaring war on each other due to existing alliances that pulled most European powers into the war. The US initially remained neutral but entered the war in 1917 after Germany began unrestricted submarine warfare and the Zimmerman Telegram was intercepted. The war ended with the Treaty of Versailles in 1919, which imposed punitive terms on Germany.