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

- **Citation**: Cal. Penal Code - PEN § 879.
- **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-2/title-3/chapter-7/section-879](https://corpuslaw.us/codes/california/penal-code/part-2/title-3/chapter-7/section-879)
- **Semantic URL**: [https://corpuslaw.us/codes/california/penal-code/part-2/title-3/chapter-7/section-879](https://corpuslaw.us/codes/california/penal-code/part-2/title-3/chapter-7/section-879)

## Hierarchy

Title PEN — Penal Code - PEN > Part 2. — PART 2. OF CRIMINAL PROCEDURE [681. - 1620.] > Title 3. — TITLE 3. ADDITIONAL PROVISIONS REGARDING CRIMINAL PROCEDURE [777. - 883.] > Chapter 7. — CHAPTER 7. Examination of the Case, and Discharge of the Defendant, or Holding Him to Answer [858. - 883.]

## Text

When the magistrate or a Judge of the Court in which the action is pending is satisfied, by proof on oath, that there is reason to believe that any such witness will not appear and testify unless security is required, he may order the witness to enter into a written undertaking, with sureties, in such sum as he may deem proper, for his appearance as specified in the preceding section.
