The Mexican-American War, [a] also known in the United States as the Mexican War and in Mexico as the Intervenci?n estadounidense en M?xico (U.S. intervention in Mexico), [b] was an armed conflict between the United States and Mexico from 1846 to 1848.