In recent national elections since 1992, Pennsylvania had leaned for the Democratic Party. The state voted for the Democratic ticket for president in every election between 1992 and 2012. During the 2008 election campaign, a recruitment drive saw registered Democrats outnumber registered Republicans by 1.2 million. However, Pennsylvania has a history of electing Republican senators. From 2009 to 2011, the state was represented by two Democratic senators for the first time since 1947 after Republican Senator Arlen Specter switched party affiliation. In 2010, Republicans recaptured a U.S. Senate seat as well as a majority of the state's congressional seats, control of both chambers of the state legislature and the governor's mansion. Democrats won back the governor's mansion four years later in the 2014 election. It was the first time since a governor became eligible to succeed himself that an incumbent governor had been defeated for reelection.