A national hero after the Mexican-American War, he served as military governor of Mexico City. Such was his stature that, in 1852, the United States Whig Party passed over its own incumbent President of the United States, Millard Fillmore, to nominate Scott in that year's United States presidential election. Scott lost to Democrat Franklin Pierce in the general election, but remained a popular national figure, receiving a brevet promotion in 1856 to the rank of lieutenant general, becoming the first American since George Washington to hold that rank.