William Henry Harrison elected President
Illustration: History Harbor

Published October 29, 2026

In brief

  • William Henry Harrison, the Whig candidate, defeated President Martin Van Buren in the 1840 election.
  • Harrison was inaugurated as the ninth U.S. president on March 4, 1841.
  • The "Log Cabin Campaign" presented Harrison as a modest war hero and a man of the people.
  • Harrison died of pneumonia on April 4, 1841, after 31 days, and John Tyler became president.

On March 4, 1841, William Henry Harrison took the oath of office as the ninth president of the United States. He had won the 1840 election as the Whig Party candidate, defeating the sitting president, Martin Van Buren. Harrison’s presidency lasted 31 days.

Hard times give the Whigs an opening

The 1840 race followed the Panic of 1837. Many voters were unhappy about the economic troubles that came after the crisis. Since Van Buren was the president in office, that frustration put him at a disadvantage. Harrison’s campaign took advantage of the public mood. Widespread dissatisfaction with the economy helped the Whig challenger defeat the incumbent.

Economic discontent was only part of the Whig appeal. The campaign also worked to shape how voters judged the two candidates as men.

Log cabins and “Tippecanoe and Tyler Too”

Harrison’s run became known as the “Log Cabin Campaign.” It presented him as a modest war hero and an ordinary man of the people. The campaign portrayed Van Buren as elitist and set his image against Harrison’s: a humble soldier versus a supposedly privileged officeholder.

The campaign slogan, “Tippecanoe and Tyler Too,” named both members of the Whig ticket. “Tippecanoe” referred to Harrison’s military victory at the Battle of Tippecanoe and supported his image as a war hero. “Tyler Too” promoted John Tyler, Harrison’s running mate.

A presidency of 31 days

Harrison caught pneumonia, and the illness ended his presidency. He died on April 4, 1841, 31 days after his inauguration. He was the first U.S. president to die in office, and his death raised constitutional questions about who should succeed a president.

Those questions were settled when John Tyler took over the presidency. The running mate named in the Whig slogan became the next president.

Causes and consequences

  1. Economic discontent after the Panic of 1837 Helped Harrison defeat Van Buren
  2. Harrison's pneumonia Ended his presidency after 31 days
  3. First death of a president in office Constitutional questions about presidential succession
  4. John Tyler taking over the presidency Succession questions settled

Why it matters

The 1840 campaign shows how economic hardship and a carefully crafted public image could help a challenger defeat a sitting president. Harrison's death also created the first real test of presidential succession. When John Tyler took over the presidency, the questions that test raised were settled.

Report a mistake

What is wrong on this page? We will check and correct the text.

    Related events

    Meanwhile in other topics