California Penal Code § 679.015
Text of § 679.015
(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.
Cite this section
Cal. Penal Code § 679.015
https://lawconsensus.com/codes/california/penal-code/679-015/
LawCensus reproduces the text of the law for reference. It may not show the most recent changes. Check the official source before you rely on it: official text. This is general information, not legal advice.