When delinquent city taxes, with costs and penalties, have been paid to the county treasurer or when property in the city has been sold for the nonpayment of city taxes and redeemed, and the money for the redemption paid to the county treasurer, the money collected shall be paid to the city, after deduction of the county's compensation.
Ca. Gov. Code § 51554