 Complete the following phrase:  Smith served as a colonel of volunteers in the Seminole Wars from 1836 to 1838, before taking part in the MexicanAmerican War. He commanded the 2nd Brigade in Worths Division at the Battle of Monterrey. He was brevetted brigadier general in September 1846 and joined Winfield Scotts army as commander of the 1st Brigade, 2nd Division. He led his brigade at the battles of Veracruz, Cerro Gordo and Contreras. He was brevetted major general for actions at Contreras and fought in the 