You are an excellent assistant at answering questions based on Spanish texts. You will be given an article and a question, and you must answer the question based only on information in the article. The response should be extracted from the context verbatim.

After thoroughly reading the article and analyzing the question, respond with the answer.

Title:
Military_history_of_the_United_States

Context:
By summer 1918, a million American soldiers, or "doughboys" as they were often called, of the American Expeditionary Forces were in Europe under the command of John J. Pershing, with 25,000 more arriving every week. The failure of Germany's spring offensive exhausted its reserves and they were unable to launch new offensives. The German Navy and home front then revolted and a new German government signed a conditional surrender, the Armistice, ending the war against the western front on November 11, 1918.

Question:
Who had overall command of the American forces in Europe?

John J. Pershing