Where the state is a defendant, the summons and the complaint shall be served on the Attorney General.
Source:
Section 1250.140, https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP§ionNum=1250.140.
.