The Mexican War between the United States and Mexico began with a Mexican attack on American troops along the southern border of Texas on Apr. 25, 1846. Fighting ended when U.S. Gen. Winfield Scott occupied Mexico City on Sept. 14, 1847; a few months later a peace treaty was signed at Guadalupe Hidalgo. In addition to recognizing the U.S. annexation of Texas, defeated Mexico ceded California and , New Mexico (including all the present-day states of the Southwest) to the United States. During the war political quarrels arose regarding the disposition of conquered Mexico. A strong "All-Mexico" movement urged annexation of the entire territory. Abolitionists opposed that position and fought for the exclusion of slavery from any territory absorbed by the United States. In 1847 the House of Representatives passed the Wilmot Proviso, stipulating that none of the territory acquired should be open to slavery. The Senate avoided the issue, and a late attempt to add it to the Treaty of Guadalupe Hidalgo was defeated.
A major cause of conflict between the Southern slave