If the action is brought by the Attorney General, one-half of the penalty collected shall be paid to the treasurer of the county in which the judgment was entered, and one-half to the General Fund. If brought by a district attorney, the penalty collected shall be paid to the treasurer of the county in which the judgment was entered. If brought by a city attorney or city prosecutor, one-half of the penalty collected shall be paid to the treasurer of the city in which the judgment was entered, and one-half to the treasurer of the county in which the judgment was entered.
Ca. Civ. Code § 1745.5