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