Mexico came into existence in 1821. It briefly held a tenuous claim on much of what is today the southwestern United States and California. The Mexican American war ended any pretense that Mexico controlled or administered anything north of the Rio Grande.