The correct response is:
It gave the United States territory known as the Mexican Cession.
The Mexican-American War (1846-1848) led to the Treaty of Guadalupe Hidalgo, through which Mexico ceded a significant portion of its northern territories to the United States, including present-day California, Arizona, New Mexico, Nevada, Utah, and parts of Colorado and Wyoming.