World War I began with the U.S. initially declaring neutrality, but shifting to involvement after German unrestricted submarine warfare and the Zimmerman Telegram. The American Expeditionary Force, largely untrained, engaged in combat leading to a decisive offensive in 1918, resulting in victory and significant casualties. The Treaty of Versailles imposed heavy reparations on Germany and initiated the formation of the League of Nations, while failing to address various international issues.