The Mexican–American War, or the Invasion of Mexico or U.S.–Mexican War (1846–1848).
The war's battles were fought within Mexico, and resulted in ⅓ of the country being ceded to the U.S. to become the present day Southwestern United States and California.