From 1846 to 1848, U.S. and Mexican troops fought against one another in the Mexican-American War. Ultimately, it was a battle for land where Mexico was fighting to keep what they thought was their property and the U.S. desired to retain the disputed land of Texas and obtain more of Mexico's northern lands.