 In 1845, the U.S. Congress ratified Texas's petition for statehood.In response to a Mexican massacre of a U.S. army detachment in disputed territory, the U.S. Congress declared war on May 13, 1846; Mexico followed suit on 23 May.The Mexican–American War took place in two theaters