Did Mexico give up its northern territories after the U.S captured city?

Mexico did not give up its northern territories after the U.S captured Mexico city. Instead, the mexican cessions took land from Mexico at the end of the Mexican-American War.
Copyright Wanderlust World © https://www.ynyoo.com