<P> The United States declared war on Germany on April 6, 1917 and ended November 11, 1918 during World War I . The U.S. was an independent power and did not officially join the Allies . It closely cooperated with the Allies militarily but acted alone in diplomacy . The U.S. made its major contributions in terms of supplies, raw material and money, starting in 1917 . American soldiers under General John Pershing, Commander - in - Chief (C - in - C) of the American Expeditionary Force (AEF), arrived in large numbers on the Western Front in the summer of 1918 . Before entering the war, the U.S. had remained neutral, though it had been an important supplier to Great Britain and the other Allied powers . During the war the U.S. mobilized over 4 million military personnel and suffered 110,000 deaths, including around 45,000 who died due to the 1918 Spanish Flu outbreak (30,000 before they even reached France). The war saw a dramatic expansion of the United States government in an effort to harness the war effort and a significant increase in the size of the U.S. Armed Forces . After a relatively slow start in mobilizing the economy and labor force, by spring 1918, the nation was poised to play a role in the conflict . Under the leadership of President Woodrow Wilson, the war represented the climax of the Progressive Era as it sought to bring reform and democracy to the world, although there was substantial public opposition to U.S. entry into the war . </P> <P> The American entry into World War I came in April 1917, after more than two and a half years of efforts by President Woodrow Wilson to keep the United States out of the war . Apart from an Anglophile element urging early support for the British, American public opinion reflected that of the president: the sentiment for neutrality was particularly strong among Irish Americans, German Americans and Scandinavian Americans, as well as among church leaders and among women in general . On the other hand, even before World War I had broken out, American opinion had been more negative toward Germany than towards any other country in Europe . Over time, especially after reports of atrocities in Belgium in 1914 and following the sinking of the passenger liner RMS Lusitania in 1915, the American people increasingly came to see Germany as the aggressor in Europe . </P>

When did the united states get involved in ww1