<Table> <Tr> <Th_colspan="2"> Brevet Lieutenant General Winfield Scott </Th> </Tr> <Tr> <Td_colspan="2"> Scott in 1862 </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Th_colspan="2"> 3rd Commanding General of the United States Army </Th> </Tr> <Tr> <Td_colspan="2"> In office July 5, 1841--November 1, 1861 </Td> </Tr> <Tr> <Th> Preceded by </Th> <Td> Alexander Macomb </Td> </Tr> <Tr> <Th> Succeeded by </Th> <Td> George B. McClellan </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Th_colspan="2"> Personal details </Th> </Tr> <Tr> <Th> </Th> <Td> (1786 - 06 - 13) June 13, 1786 Dinwiddie County, Virginia </Td> </Tr> <Tr> <Th> </Th> <Td> May 29, 1866 (1866 - 05 - 29) (aged 79) West Point, New York </Td> </Tr> <Tr> <Th> Political party </Th> <Td> Whig </Td> </Tr> <Tr> <Th> Awards </Th> <Td> Congressional Gold Medal (2) </Td> </Tr> <Tr> <Th> Signature </Th> <Td> </Td> </Tr> <Tr> <Th_colspan="2"> Military service </Th> </Tr> <Tr> <Th> Nickname (s) </Th> <Td> "Old Fuss and Feathers" "The Grand Old Man of the Army" </Td> </Tr> <Tr> <Th> Allegiance </Th> <Td> United States of America </Td> </Tr> <Tr> <Th> Service / branch </Th> <Td> Virginia Militia United States Army Union Army </Td> </Tr> <Tr> <Th> Years of service </Th> <Td> 1807 - 1808 (Militia) 1808--1861 (U.S. Army) 1861 (Union Army) </Td> </Tr> <Tr> <Th> Rank </Th> <Td> Brevet Lieutenant General </Td> </Tr> <Tr> <Th> Commands </Th> <Td> 1st Brigade, Left Division, Army of the North Division of the North Eastern Department Eastern Division Army of the Cherokee Nation Commanding General of the United States Army Army of Mexico </Td> </Tr> <Tr> <Th> Battles / wars </Th> <Td> <P> War of 1812 </P> <Ul> <Li> Battle of Queenston Heights </Li> <Li> Battle of Fort George </Li> <Li> Capture of Fort Erie </Li> <Li> Battle of Chippawa </Li> <Li> Battle of Lundy's Lane </Li> </Ul> <P> Seminole Wars Black Hawk War Mexican--American War </P> <Ul> <Li> Siege of Veracruz </Li> <Li> Battle of Cerro Gordo </Li> <Li> Battle of Contreras </Li> <Li> Battle of Churubusco </Li> <Li> Battle of Molino del Rey </Li> <Li> Battle of Chapultepec </Li> <Li> Battle for Mexico City </Li> </Ul> American Civil War </Td> </Tr> </Table> <Tr> <Th_colspan="2"> Brevet Lieutenant General Winfield Scott </Th> </Tr>

Which general served during the mexican war and the civil war