Kamala Harris was elected the attorney general of California in 2010, becoming the first woman, Black American, and South Asian American to hold the office in the state's history. She took office on January 3, 2011, and would be re-elected in 2014 to serve until she resigned on January 3, 2017, to take her seat in the United States Senate.