Yes, it did - territory in the southwest part of what is today the United States. Mexico ceded those lands to the USA after the Mexican - American War. The territory turned into a number of western states ... and caused some controversy over whether slavery would be allowed in those states or not.