Pen. Code, § 1501 · Chapter 1. Of the Writ of Habeas Corpus
Pen. Code, § 1501
Verbatim from the official edition
Text — As published in the Legislative Counsel's database, tables dated October 18, 2026 (pubinfo_2025.zip)
If such party is held under illegal restraint or custody, he must be discharged; and if not, he must be restored to the care or custody of the person entitled thereto.
Notes and commentary — not statutory text
History
Enacted 1872.
Source of truth
- Edition
- As published in the Legislative Counsel's database, tables dated October 18, 2026 (pubinfo_2025.zip)
- Official file
- https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=PEN§ionNum=1501.
- Text hash
- sha256 215f42ef9e1028c003aa387f3eadfeb92c0a2b58124fbd76a759e359f75b3244
- Composed by
- compose_ca.py 2026-10-22: the Legislative Counsel's CAML content files read by a tokenizer (caml_readers.reader_a); an independent xml.etree reading (caml_readers.reader_b) agrees on every section
Procedural information only. Not legal advice and not a substitute for the advice of an attorney. Confirm the current text with the official publisher before relying on it.