The correct response is:
It gave the United States territory known as the Mexican Cession.
The U.S.-Mexican War (1846-1848) resulted in the Treaty of Guadalupe Hidalgo, which ceded a large portion of Mexico's northern territory to the United States, including present-day California, Nevada, Utah, Arizona, and parts of New Mexico, Colorado, and Wyoming, collectively known as the Mexican Cession.