Cal. Sts. & High. Code § 6501.1
(a) If there is surplus money remaining from the sale after payment of the amount due on the bond, plus interest, penalties, and costs of sale, the treasurer shall hold the surplus money in trust during the period of redemption or until the amount due is paid by a redemptioner. In the event of redemption, the treasurer shall pay to the holder of the certificate of sale the amount of principal, interest, and penalties due on the bond, costs paid by the holder, and any surplus money held in trust. In the event that there is no redemption of the bond during the redemption period, the treasurer shall pay the surplus money in the following order:
(b)