Two years later, in the 2012 elections, New Hampshire voted out both of its Republican members in the House of Representatives in favor of Democrats. At the same time, voters returned Democrats to the majority in the State House of Representatives, while Republicans held on to a narrow 13-11 majority in the state Senate, despite losing the popular vote. Democrat Maggie Hassan won a surprisingly large 12% margin of victory, with 54.6% of the vote in the gubernatorial election, becoming the first Democrat to succeed another Democrat as Governor of New Hampshire since 1854.