Penal Code § 4115
ARTICLE 1. County Industrial Farms
The county jail shall serve as the initial place of detention for all adult persons committed to the custody of the sheriff, except city prisoners who are transferred to a farm or camp by the county classification committee.