Answer
The Mexican–American War was a conflict between the United States and Mexico that lasted from 1846 to 1848. The war began after the United States annexed Texas in 1845, which Mexico considered to be part of its territory. The United States also claimed the disputed territory of New Mexico and California, which Mexico also claimed.