text: who was president during our war with mexico? what was the rational for the war? what was the result? on what basis was the war with mexico justified? james polk was president  it was allegedly caused by tensions developing from texan expansions by us settlers, but really it was mostly a manifest-destiny style takeover of land.  technically, we invaded them, and a skirmish happened, so we declared war and said we'd been invaded.