Whigs picked up a moderate number of seats in both the House and Senate, but the Democratic Party retained a majority in both chambers.[3][4] However, due to a split in the Democratic party, Whig Congressman Robert M. T. Hunter was elected to be the Speaker of the House.[5]