What Started the Mexican War?

The Mexican War started when Mexico attacked US troops on the border of Texas. This attack took place on April 25, 1846. The war lasted until September 14, 1847.