William Henry Harrison served as the 9th president of the United States. He served in the U.S. Congress from 1816 to 1819, representing Ohio; from 1819 to 1821 in the Ohio Senate; and from 1825 to 1828 in the U.S. Senate. Harrison was elected president in 1840 as Whig candidate. He died of pneumonia at age 68 in Washington, D.C., one month after taking office.