When America was annexing more territories like the Louisiana Purchase, Mexican Cession, Gadsden Purchase, Texas and everything else... most of that area was originally owned by Mexico but this was just after Mexico got their independence from Spain
Hope this helps :D