The Whigs lost numerous races in the 1842 mid-term elections, as the country continued to suffer from the effects of the Panic of 1837. The Whigs had promised 'relief and reform,' and voters punished the party for the lack of change. Democrats took control of the House, and Tyler felt vindicated by the defeat of the congressional Whigs. Both parties, intent on electing their own candidates in the 1844 election, largely continued to oppose Tyler. No major legislation would pass in the lame duck session of the 27th Congress or in the 28th Congress. Near the end of Tyler's term in office, on March 3, 1845, Congress overrode his veto of a minor bill relating to revenue cutters. This was the first successful override of any presidential veto in U.S. history.