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

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

## 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

On holding the defendant to answer or on a plea of guilty where permitted by law, the magistrate may take from each of the material witnesses examined before him on the part of the people a written undertaking, to the effect that he will appear and testify at the court to which the depositions and statements or case are to be sent, or that he will forfeit the sum of five hundred dollars.
