The Treaty of Guadalupe-Hidalgo was the peace treaty between the United States and Mexico that officially ended the Mexican War (1846–1848). The core of the treaty defined the "Mexican Cession," the territory that Mexico was obliged to cede to the United States as a result of the war