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

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

## Hierarchy

Title PEN — Penal Code - PEN > Part 2. — PART 2. OF CRIMINAL PROCEDURE [681. - 1620.] > Title 12. — TITLE 12. OF SPECIAL PROCEEDINGS OF A CRIMINAL NATURE [1473. - 1564.] > Chapter 1. — CHAPTER 1. Of the Writ of Habeas Corpus [1473. - 1509.1.]

## Text

Any judge before whom a person who has been committed upon a criminal charge may be brought on a writ of habeas corpus, if the same is bailable, may take an undertaking of bail from such person as in other cases, and file the same in the proper court. Whenever a writ of habeas corpus is returned to a court for hearing and the petitioner is charged with an offense other than a crime of violence or committed with a deadly weapon or involving the forcible taking or destruction of the property of another, but the prisoner does not stand convicted of any offense, the amount of the bail must be set immediately if no bail has theretofore been fixed.
