Alabama voted for the Democratic candidate, Martin Van Buren, over Whig candidate William Henry Harrison. Van Buren won Alabama by a margin of 8.76%. As of 2020, this remains the only time in American history that Alabama has voted for a different presidential candidate than neighboring Mississippi.