Lasting from April 25, 1846 – February 2, 1848, the Mexican-American War polarized sectional differences over the extension of slavery in the United States, and it served as a training ground for numerous general officers who fought on both sides during the American Civil War.