The document summarizes the United States' war with Mexico from 1845 to 1848, which resulted in the United States acquiring large swaths of territory in the modern-day American Southwest. Key events included the annexation of Texas in 1845, a border dispute along the Rio Grande that helped trigger open conflict in 1846, and General Winfield Scott's capture of Mexico City in 1847 that led to the Treaty of Guadalupe Hidalgo, in which Mexico ceded California, New Mexico, and other territories for $15 million. The new territorial acquisitions intensified debates over the expansion of slavery that contributed to the coming of the Civil War.