A special election was held on June 6, 2017, to elect the member of the United States House of Representatives for California's 34th congressional district. A special open primary election was held on April 4, 2017. Incumbent Representative Xavier Becerra, nominated by Governor Jerry Brown to succeed Kamala Harris, was confirmed as Attorney General of California on January 23, 2017. Harris, who was elected to the United States Senate to succeed Barbara Boxer, resigned as attorney general on January 3, 2017.