The voters selected Democrats in New Hampshire as they did nationally in 2006 and 2008. In 2006, Democrats won both congressional seats (electing Carol Shea-Porter in the 1st district and Paul Hodes in the 2nd district), re-elected Governor John Lynch, and gained a majority on the Executive Council and in both houses of the legislature for the first time since 1911. Democrats had not held both the legislature and the governorship since 1874. Neither U.S. Senate seat was up for a vote in 2006. In 2008, Democrats retained their majorities, governorship, and congressional seats; and former governor Jeanne Shaheen defeated incumbent Republican John E. Sununu for the U.S. Senate in a rematch of the 2002 contest. At the end of the 2008 election cycle, voters registered Democratic outnumbered those registered Republican.