Election results by county
Kane: 50–60% 60–70% 70–80% 80–90%
40–50% 50–60% 60–70%
|Elections in Pennsylvania|
David Freed, the district attorney of Cumberland County, ran unopposed in the Republican primary. Kathleen Kane, a former assistant district attorney in Lackawanna County faced former U.S. Representative Patrick Murphy in the primary to become the Democratic nominee. Kane was victorious in this race by a margin of 52.8% to 47.2%  Marakay Rogers was the Libertarian candidate. 
On November 6, 2012, Kathleen Kane defeated David Freed and Marakay Rogers to be elected Attorney General of Pennsylvania.
|Democratic gain from Republican|