The
Mexican–American War, also known as the Mexican War, was an armed conflict between the United States and Mexico from 1846 to 1848 in the wake of the 1845 U.S. annexation of Texas, which Mexico considered part of its territory despite the 1836
Texas Revolution.