The Whigs took a majority of seats in the Twenty-seventh Congress. Harrison died after a month in office, and Vice President John Tyler succeeded him. Pierce and the Democrats were quick to challenge the new administration, questioning the removal of federal officeholders, and opposing Whig plans for a national bank. In December 1841 Pierce decided to resign from Congress, something he had been planning for some time.[45] New Hampshire Democrats insisted that their state's U. S. senators be limited to one six-year term, so he had little likelihood of re-election. Also, he was frustrated at being a member of the legislative minority and wished to devote his time to his family and law practice.[46] His last actions in the Senate in February 1842 were to oppose a bill distributing federal funds to the states – believing that the money should go to the military instead – and to challenge the Whigs to reveal the results of their investigation of the New York Customs House, where the Whigs had probed for Democratic corruption for nearly a year but had issued no findings.