If you want to know it was a treaty that stated the US is given what is now know as the US Southwest permanently. Also we assumed all the debt for these areas that Mexico incurred which most economists on either side of the Rio Grande will tell you was a huge burden for you fledgling nation. Also according to a Zogby poll 92% or Mexican Americans do not want the US Southwest to go back to mexico, mainly because they know what would happen.