 Complete the following phrase:  During the MexicanAmerican War, as colonel of the 2nd U.S. Infantry, Riley fought at the Siege of Veracruz and the Battle of Cerro Gordo, where he was cited for bravery. He was brevetted brigadier general and assumed command of the 2nd Brigade in David E. Twiggss Second Division. He led his brigade at the Battle of Contreras and the Battle of Churubusco, where Winfield Scott gave him credit for the U.S. victory: Riley had discovered a way around the rear of Velencias position. He was appointed brevet major general and fought at the 