Cal. Gov't Code § 41605
The chief of police has charge of the prisoners and of any city jail established by the legislative body.