Until judgment is given on the return, the Court or Judge before whom any party may be brought on such writ may commit him to the custody of the Sheriff of the county, or place him in such care or under such custody as his age or circumstances may require.
Cal. Penal Code § 1494
Of the Writ of Habeas Corpus
Enacted 1872.
Official source: California Legislative Information. Reproduced from public-domain California statutes; confirm against the official source for the current text. Not legal advice.