The Mexican–American War, also known in the United States as the Mexican War, and in Mexico as the United States intervention in Mexico, was an invasion of Mexico by the United States Army.