In 1845 the U.S. annexed the Republic of Texas, which had won de facto independence from Mexico in the Texas Revolution (1835–36). ... Polk found a rationale to justify an attempt to take that land by force when U.S. and Mexican troops skirmished north of the Rio Grande on April 25, 1846.