In the Battle of Buena Vista on 22–23 February 1847, Taylor's army counted 4,800 soldiers and the artillery batteries of Thomas W. Sherman (3rd Artillery), Washington, and Bragg. Washington's battery may have had eight field pieces, and the others six. During the action, the numerically superior Mexican army under Antonio López de Santa Anna forced many of the American volunteer units to retreat, but the artillery saved the day. On the morning of 24 February, Santa Ana's army had withdrawn. In the Battle for Mexico City, the 14,000-man American army of Winfield Scott was organized into four divisions with an artillery battery assigned to each division. These were Duncan's Company A (light), 2nd Artillery – William J. Worth's division, Company K (light), 1st Artillery – David E. Twiggs' division, Company I (light), 1st Artillery – Gideon Pillow's division, and Company H, 3rd Artillery – John A. Quitman's division.