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 U.S. acquiring a significant amount of territory from Mexico, including present-day California, Nevada, Utah, Arizona, and parts of Colorado and New Mexico, known collectively as the Mexican Cession.