Mexican–American War
In 1846, a dispute over the border between Texas and Mexico resulted in armed conflict, and the Mexican–American War began. After offering to buy the territory, Polk moved US troops into a place that Mexico said was not in Texas but in the Mexican state of Coahuila.  The Mexican army attacked them.