The Whigs won the presidency in 1840 and 1848, with the elections of William Henry Harrison and Zachary Taylor, both of whom were notable for dying not long after taking office. Whigs also served in the Congress, and the Whig Party held majorities in the Senate and House of Representatives for periods in the 1840s.
The party eventually fractured and essentially ceased to exist after a lack of success in the 1852 presidential election. However, Whigs and their ideas influenced the new Republican Party. Abraham Lincoln, for instance, had once been a Whig.

