is the Democratic stronghold of the state, often delivering huge margins for the Democrats in statewide elections. Other urban areas, such as Pittsburgh, lean Democratic as well. Like most states, Pennsylvania's rural areas tend to be more conservative and support Republicans. The resulting political map of Pennsylvania is therefore a red "T" in the center of the state with the Pittsburgh and Philadelphia areas a strong blue. In more recent years, the traditionally Democratic-voting areas in southwestern Pennsylvania have become much more Republican, especially after 2004, similar to other coal country areas in West Virginia and Kentucky. By 2016, counties that once voted for John Kerry in 2004 in the counties surrounding Allegheny County supported Donald Trump by more than 60%. The true swing areas of the state are the suburbs of the large cities, notably Philadelphia, which change year-to-year. It has been said that the ideal Pennsylvania candidate is a gun-supporting, pro-life, dynastic Democrat, similar to current senator Bob Casey Jr. Pennsylvania’s former Senator, Arlen Specter, announced in April 2009 that he was switching his party affiliation from Republican to Democratic, citing the Republicans' shift to the right since he was elected in 1980, though others suspected he switched because he would face a tough Republican primary election in 2010. As it turned out, he ended up losing the Democratic primary to Representative Joe Sestak. Congressman Sestak narrowly lost the general election to Pat Toomey in November 2010, returning the Senate seat to Republicans. On the state level, Pennsylvania has been a traditionally liberal Republican state, with a dominant state Republican Party that is much more oriented towards social spending than more conservative state Republican Parties in other regions of the United States. However, the recent Democratic trend in Pennsylvania has affected state politics, and the Democrats controlled the governor's mansion for two terms under Governor Ed Rendell. After losing the governorship for four years to Tom Corbett from 2011 to 2015, Democratic Governor Tom Wolf defeated Corbett's re-election bid in 2014. On January 22, 2018, the Supreme Court of Pennsylvania mandated that the state's congressional map be drawn, alleging that the current map was unconstitutionally drawn to favor Republicans and disenfranchise Democratic voters, a process known as gerrymandering. Less than one month later, a new congressional map was drawn and approved. The new map would take place in the May primaries. With the new congressional map in place, Democrats had a net gain of three congressional seats, giving the Democratic Party half of Pennsylvania's congressional seats. Also in the 2018 midterm elections, Governor Tom Wolf won reelection by a margin of 17 percent, Bob Casey Jr. was reelected to a third term in the U.S. Senate, John Fetterman unseated incumbent lieutenant governor Mike Stack, and the Republican Party maintained control of the state legislature.
Federal relations
During the Tom Ridge administration, the Commonwealth of Pennsylvania maintained a permanent in-house lobbying office in Washington, D.C., to lobby the federal government of the United States. During the Ed Rendell administration, the Commonwealth closed that office and entered into a $720,000 annual contract with Blank Rome to lobby the federal government. The Rendell administration says that the contract with Blank Rome was $140,000 less per year than maintaining a permanent state office in Washington.