Though the United States had been little prepared to enter the war, the American government mobilized quickly to rally the troops—and the citizens—behind the war effort: In April 1917 the U.S. Regular Army was comprised of just more than 100,000 men; by the end of the war, the American armed forces stood some 5 million strong. It was the arrival of the U.S. troops that gave the Allies the manpower they needed to win the war. After continued fighting in the trenches of Europe, which had left almost 10 million dead, in November 1918, Germany agreed to an armistice and the Central Powers finally surrendered. In January 1919 Allied representatives gathered in Paris to draw up the peace settlement.