In May 1917 President Woodrow Wilson and Secretary of War Newton Baker chose Pershing to command the American Expeditionary Force going to Europe in support of the Allies. Arriving in France during June, Pershing immediately began planning the organization and employment of a large American army.