The Mexican Cession was acquired via the Treaty of Guadalupe Hidalgo, signed February 2, 1848, ending the Mexican–American War. The U.S. gained over 525,000 square miles—present-day California, Nevada, Utah, Arizona, New Mexico, and parts of Colorado and Wyoming—in exchange for $15 million paid to Mexico.