Government Code § 25523
ARTICLE 8. Sale or Lease of Real Property
The board of supervisors may use funds derived from the sale for the general purposes of the county, provided that the derived funds are used, in accordance with local, state, and federal law, for the purpose of the fund that had been the source for the acquisition of the property sold.