The Mexican American War, on the other hand, was a conflict between the United States and Mexico that lasted from 1846 to 1848. The war resulted in the United States acquiring a vast amount of territory, including what is now the Southwestern United States and California.