In 1846 he was promoted second lieutenant and fought in Zachary Taylor's Army of Occupation during the battles of Palo Alto, Resaca de la Palma and Monterrey.
Returning to the U.S. after the war he served in the quartermasters department and against the Apache Indians on the frontier.