> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# Cal. Penal Code - PEN § 4000. — Section 4000.

- **Citation**: Cal. Penal Code - PEN § 4000.
- **Node Type**: section
- **Jurisdiction**: California (state)
- **Code Body**: Penal Code - PEN (PEN)
- **Official Source**: [https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip](https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip)
- **Canonical URL**: [https://corpuslaw.us/codes/california/penal-code/part-3/title-4/chapter-1/section-4000](https://corpuslaw.us/codes/california/penal-code/part-3/title-4/chapter-1/section-4000)
- **Semantic URL**: [https://corpuslaw.us/codes/california/penal-code/part-3/title-4/chapter-1/section-4000](https://corpuslaw.us/codes/california/penal-code/part-3/title-4/chapter-1/section-4000)

## Hierarchy

Title PEN — Penal Code - PEN > Part 3. — PART 3. OF IMPRISONMENT AND THE DEATH PENALTY [2000. - 10008.] > Title 4. — TITLE 4. COUNTY JAILS, FARMS AND CAMPS [4000. - 4351.] > Chapter 1. — CHAPTER 1. County Jails [4000. - 4033.]

## Text

The common jails in the several counties of this state are kept by the sheriffs of the counties in which they are respectively situated, and are used as follows:

1.

For the detention of persons committed in order to secure their attendance as witnesses in criminal cases;

2.

For the detention of persons charged with crime and committed for trial;

3.

For the confinement of persons committed for contempt, or upon civil process, or by other authority of law;

4.

For the confinement of persons sentenced to imprisonment
				  therein upon a conviction for crime.

5.

For the confinement of persons pursuant to subdivision (b) of Section 3454 for a violation of the terms and conditions of their postrelease community supervision.
