Cal. Health & Safety Code § 115210
(b) If the civil penalties are awarded and the action is brought by a city attorney or district attorney, the penalty shall be paid directly to the city or county. If no penalty is awarded or paid, or both, the state shall have no obligation to make any payment to the city or county.
If the civil penalty is awarded and the action is brought by the Attorney General, the penalty shall be deposited in the General Fund.