(a) The necessary and reasonable costs of the suit and of the additional counsel shall be advanced by the state, and a sum recovered in the suit shall be deposited in the state treasury.
(b) If the sum recovered as described in (a) of this section belongs to a city, school district, or municipal government, the sum shall be transferred to it, less sums advanced by the state in the suit and not already repaid to it. The Department of Administration may disburse to the city, school district, or municipal corporation the sums belonging to it. The disbursements must be based upon vouchers approved by the attorney general.