Formulate an answer to this elaborate 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?
Kamala Devi Harris