A county may conduct or participate in programs for the training, education or rehabilitation of wards or offenders, including, but not limited to, programs in which state or federal funds are granted or reimbursable. In connection therewith, a county may contract with federal, state or local public agencies, private persons, corporations and other business entities, and may make such expenditures of county funds as may be required for the conduct of, or participation in, such programs.
Ca. Gov. Code § 23015