The 1838–39 United States House of Representatives elections were held during President Martin Van Buren's term at various dates in different states from July 1838 to November 1839. The Panic of 1837 and consequent economic downturn drove Whig Party gains. Van Buren's Democratic Party had lost popularity and Whig policies of economic nationalism appealed to a larger number of voters. Democrats were able, however, to contain the political fallout by blaming banks for the crisis. The Anti-Masonic Party, influential in New York, Pennsylvania, and other Northern states, lost seats, while the Southern Nullifier Party disappeared. Two Virginia representatives were elected on that state's Conservative Party ticket.