 He served on the razee in the Brazil Squadron from 1837 to 1838, where he was promoted to lieutenant on March 31, 1838.During the Mexican–American War, he served on in the Pacific Squadron and spent nine months in command of land forces at Mazatlán.He married October 17, 1849, Mary Minot, daughter of William and Mary Morse Ainsworth of New Ipswich, New Hampshire.