Millard Fillmore (January 7, 1800 – March 8, 1874) was the 13th President of the United States (1850–1853), the last Whig president, and the last president not to be affiliated with either the Democratic or Republican parties. Fillmore was the only Whig president who did not die in office or get expelled from the party, and Fillmore appointed the only Whig Supreme Court Justice. "As an anti-slavery moderate, he opposed abolitionist demands to exclude slavery from all the territory gained in the Mexican War. Instead he supported the Compromise of 1850, which briefly ended the crisis."

More Info: en.wikipedia.org