World War I was the deadliest war the world had seen to that point, beginning in 1914 after the assassination of Archduke Franz Ferdinand. By 1917, new technologies and the use of chemical weapons led to unprecedented casualties as trench warfare took hold. The United States entered the war in 1917, helping turn the tide in favor of the Allies. An armistice in 1918 ended the fighting, leading to peace negotiations and the Treaty of Versailles in 1919.