The Mexican-American War was a conflict between the United States and Mexico that lasted from 1846 to 1848. The primary cause of the war was the disagreement over the Texas annexation. The United States claimed that Texas had rightfully become part of the country, while Mexico claimed that Texas had stolen its land.
The war ended with the United States victorious. As a result, Mexico was forced to cede its northern territories, including present-day California and New Mexico, to the United States. The Mexican-American War was a significant event in American history, as it led to the country’s expansion westward. It also had a lasting impact on the relationship between the United States and Mexico.