The Treaty of Guadelupe-Hidalgo stipulated that Mexicans living in the lands ceded to the US could either relocate to the remainder of Mexico or accept U.S. citizenship.