During the Mexican-American War, he was cited for bravery during the battles of Contreras and Churubusco. He was granted a brevet promotion to captain. He also participated in engagements at Fort Brown, Vera Cruz, Cerro Gordo, Molino del Rey, Chapultepec, and the capture of the City of Mexico.