Pennsylvania'sAttorney General election was held November 2, 2004.[1] Necessary primary elections were held on April 27, 2004.[2] Tom Corbett was elected attorney general, a position that he had held from 1995 to 1997 after being appointed by GovernorTom Ridge to fill a vacancy. Corbett, who had been aU.S. Attorney, narrowly defeatedMontgomery County District AttorneyBruce Castor in the Republican primary, then won by an even tighter margin in the general election. Corbett's Democratic opponent wasJim Eisenhower, the 2000 nominee who had once served as an Assistant U.S. Attorney and had been a close confidant of GovernorEd Rendell. Eisenhower won in a primary that featured three top-tier candidates: his opponents were David Barasch, a former U.S. Attorney, and John Morganelli, theNorthampton County District Attorney who was narrowly defeated by Eisenhower in the previous Democratic primary for this position.