The Mexican-American War (1846-1848) marked the first U.S. armed conflict chiefly fought on foreign soil. It pitted a politically divided and militarily unprepared Mexico against the expansionist-minded administration of U.S. President James K. Polk, who believed the United States had a “manifest destiny” to spread across the continent to the Pacific Ocean