The California Department of Justice is a statewide investigative law enforcement agency and legal department of the California executive branch under the elected leadership of the Attorney General of California which carries out complex criminal and civil investigations, prosecutions, and other legal services throughout the US State of California.