Pennsylvania's Attorney General election was held November 2, 2004.
 Necessary primary elections were held on April 27, 2004.
 Tom Corbett was elected Attorney General, a position that he had held from 1995-97 after being appointed by Governor Tom Ridge to fill a vacancy.
 Corbett, who had been a U.S. Attorney, narrowly defeated Montgomery County District Attorney Bruce Castor in the Republican primary, then won by an even tighter margin in the general election.
 Corbett's Democratic opponent was Jim Eisenhower, the 2002 nominee who had once served as an Assistant U.S. Attorney and had been a close confidant of Governor Ed 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, the Northampton County District Attorney who was narrowly defeated by Eisenhower in the previous Democratic primary for this position.
The San Diego County District Attorney is the elected district attorney for San Diego County, California.
 This office is responsible for the prosecution of both felony and misdemeanor violations of California state law that occur within the jurisdiction of San Diego County, California.
 Courts within their jurisdiction includes the San Diego Superior Court, the California Court of Appeal for the Fourth District, and the California Supreme Court.
 Federal law violations are prosecuted by the U.S. Attorney for the Southern District of California.
 The current District Attorney (since 2003) is Bonnie Dumanis.
 Her predecessor was Paul Pfingst.
Corey Lee Palumbo (born August 16, 1972) is a West Virginia State Senator representing the 17th district in the West Virginia Senate.
 A state senator since 2009, he previously served as a member of the West Virginia House of Delegates from 2003 to 2009.
 He is the son of Mario Palumbo, the 32nd Attorney General of West Virginia as well as a former five-term state senator.
Rodric Anthony Pacheco (born May 7, 1958), usually known as Rod Pacheco, is an American politician.
 He served in the Riverside County District Attorney's Office as a Deputy District Attorney, Chief Deputy District Attorney, Assistant District Attorney and then as District Attorney from 2007–2010 in Riverside County, California.
 He served in the California State Assembly from 1996–2002.
 He served as Republican leader from November 5, 1998 – April 6, 1999.
 Pacheco was defeated on June 8, 2010, in his bid for a second term as Riverside County District Attorney.
 In January 2011, SNR Denton, a global law firm, announced Pacheco would join the firm and serve in its Los Angeles office.
 Pacheco became a Partner in Litigation, White Collar, and Public Policy Public Strategies Practice Groups at SNR Denton in January 2011.
 Pacheco left SNR Denton in October 2014 to join Theodora Oringher PC.
 Pacheco was recruited by Theodora Oringher PC to form and lead the White Collar/Internal Investigations Practice Group for the firm.
George Henry Williams (March 26, 1823April 4, 1910) was an American judge and politician.
 He served as Chief Justice of the Oregon Supreme Court, was the 32nd Attorney General of the United States, and was elected Oregon's U.S. Senator, and served one term.
 Williams, as U.S. Senator, authored and supported legislation that allowed the U.S. military to be deployed in Reconstruction southern states to allow for an orderly process of readmittance into the United States.
 Williams was the first presidential Cabinet member to be appointed from the Pacific Coast.
 As attorney general under President Ulysses S. Grant, Williams continued the prosecutions that shut down the Ku Klux Klan.
 He had to contend with controversial election disputes in Reconstructed southern states.
 President Grant and Williams legally recognized P. B. S. Pinchback as the first African American state governor.
 Williams ruled that the "Virginius", a gun-running ship captured by Spain during the Virginius Affair, did not have the right to bear the U.S. flag.
 However, he argued that Spain did not have the right to execute American crew members.
 Nominated for Supreme Court Chief Justice by President Grant, Williams failed to be confirmed by the U.S. Senate primarily due to Williams' removal of A. C. Gibbs United States District Attorney at Portland, Oregon.
George Gascón (born 1954) is the District Attorney of San Francisco.
 He was appointed by Mayor Gavin Newsom in January 2011 to succeed California Attorney General Kamala Harris.
 In November 2011, Gascón was elected as District Attorney of San Francisco.
Catherine Marie Cortez Masto (born March 29, 1964) is an American attorney and politician who is the junior United States Senator from Nevada.
 She is a member of the Democratic Party.
 She previously served as the 32nd Attorney General of Nevada from 2007 to 2015.
Edmund Gerald "Pat" Brown Sr. (April 21, 1905 – February 16, 1996) was an American politician and lawyer who served as the 32nd Governor of California from 1959 to 1967.
 Born in San Francisco, Brown had an early interest in speaking and politics; he earned a LL.B.
 degree in 1927, and subsequently began legal practice.
 As district attorney for San Francisco, he was elected Attorney General of California in 1950 before becoming the state's governor in 1959.
 As governor, Brown embarked on massive projects, building important infrastructure and redefined the state's higher education system.
 While running twice for President in 1960 and 1964, finishing second and first in the primaries, respectively, he was never a serious contender in the national conventions.
 While losing his bid for a third term in 1966 to future President Ronald Reagan, his legacy earns him regard as the builder of modern California.
 His son Edmund G. "Jerry" Brown Jr. was the 34th and is currently the 39th Governor of California; his daughter, Kathleen Brown, was the 29th California State Treasurer.
The San Francisco District Attorney's Office is the legal agency charged with prosecuting crimes in the city and county of San Francisco, California.
 The current district attorney is George Gascón.
 Mayor Gavin Newsom appointed him to that post on January 9, 2011, to succeed Kamala Harris, who had been elected California Attorney General in November 2010.
 He was subsequently elected in his own right in November 2011.
Kamala Devi Harris ( , ; born October 20, 1964) is an American attorney and politician.
 A member of the Democratic Party, she currently serves as the junior senator from California.
 She previously served as the 32nd Attorney General of California.

Question: Who previously served as the 32nd Attorney General of California who's successor was elected as District Attorney of San Francisco in November 2011?
Answer: Kamala Devi Harris