What was General John J. Pershing’s job during WWI?

he was a doughboy
he was general to the AEF
he was a commander of the AEF
he was Secretary of State