Then, in 1846 and 1847, as colonel of the First Mississippi Regiment, he fought in the Mexican War, which resulted in 1848 in the Mexican Cession, a massive addition to the United States of some 500,000 square miles, including California and the modern Southwest.