Explanation:
The Treaty of Guadalupe Hidalgo was the agreement that officially ended the Mexican-American War. Signed on February 2, 1848, this treaty established the Rio Grande as the border between Texas and Mexico, ceded territory that included present-day California, Arizona, New Mexico, Nevada, Utah, and parts of Colorado and Wyoming to the United States, and required the U.S. to pay Mexico $15 million in compensation. This treaty effectively marked the conclusion of hostilities between the two countries and solidified the United States' territorial expansion.