I want to know the answer to the following question:
Who commanded the U.S. Army in the battle against Mexico City?
All the background I'm provided with is that "After defeating the Saint Patrick's Battalion, the Mexican–American War came to a close after the United States deployed combat units deep into Mexico resulting in the capture of Mexico City and Veracruz by the U.S. Army's 1st, 2nd, 3rd and 4th Divisions.". Is that enough to answer the question?
Answer: no