In an action brought pursuant to Section 42403 by the Attorney General on behalf of a district, one-half of the penalty collected shall be paid to the treasurer of the district on whose behalf judgment was entered, and one-half of the penalty collected shall be paid to the State Treasurer for deposit in the General Fund.
If the action is brought by the Attorney General on behalf of the state board, the entire penalty collected shall be paid to the State Treasurer for deposit in the General Fund.
If the action is brought by a district attorney or by an attorney for a district, the entire amount of the penalty collected shall be paid to the treasurer of the district on whose behalf judgment was entered.