During the Mexican war he was twice severely wounded in a reconnaissance at Cerro Gordo, 1847, was engaged in the siege of Vera Cruz, the battles of Contreras, Churubusco, and Molino del Rey, the storming of Chapultepec, and the assault on the city of Mexico, and received three brevets for gallant and meritorious service.
In the Mexican War he won two brevets for gallantry - that of captain for Molino del Rey and that of major for Chapultepec. He served at West Point as instructor and adjutant (1849-1855), and he took part in the Utah expedition.
The suburbs of Montevideo include the fashionable bathing resorts of Playa Ramirez and Pocitos on the coast east of the city, the inland suburbs of Paso Molino and La Union, and the industrial town of Cerro, across the bay.
In September 1845 he went with his regiment to join the forces of General Taylor in Mexico; there he took part in the battles of Palo Alto, Resaca de la Palma and Monterey, and, after his transfer to General Scott's army, which he joined in March 1847, served at Vera Cruz, Cerro Gordo, Churubusco, Molino del Rey and at the storming of Chapultepec. He was breveted first lieutenant for gallantry at Molino del Rey and captain for gallantry at Chapultepec. In August 1848, after the close of the war, he married Julia T.