> 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 § 679.015. — Section 679.015.

- **Citation**: Cal. Penal Code - PEN § 679.015.
- **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-1/title-17/section-679-015](https://corpuslaw.us/codes/california/penal-code/part-1/title-17/section-679-015)
- **Semantic URL**: [https://corpuslaw.us/codes/california/penal-code/part-1/title-17/section-679-015](https://corpuslaw.us/codes/california/penal-code/part-1/title-17/section-679-015)

## Hierarchy

Title PEN — Penal Code - PEN > Part 1. — PART 1. OF CRIMES AND PUNISHMENTS [25. - 680.4.] > Title 17. — TITLE 17. RIGHTS OF VICTIMS AND WITNESSES OF CRIME [679. - 680.4.]

## Text

(a)

It is the public policy of this state to protect the public from crime and violence by encouraging all persons who are victims of or witnesses to crimes, or who otherwise can give evidence in a criminal investigation, to cooperate with the criminal justice system and not to penalize these persons for being victims or for cooperating with the criminal justice system.

(b)

Whenever an individual who is a victim of or witness to a crime, or who otherwise can give evidence in a criminal investigation, is not charged with or convicted of committing any crime under state law, a peace officer may not detain the individual exclusively for any actual or suspected immigration
						violation or turn the individual over to federal immigration authorities absent a judicial warrant.
