The American annexation of Texas whose independence the Mexican had never fully accepted made war with Mexico inevitable. When the Mexicans refused to meet with a US envoy sent to negotiate a settlement of outstanding issues, President Polk ordered American forces to maneuver close to the Mexican border in disputed territory. The Mexicans attacked and the war was on.