No person who has been discharged by the order of the Court or Judge upon habeas corpus can be again imprisoned, restrained, or kept in custody for the same cause, except in the following cases:

1. If he has been discharged from custody on a criminal charge, and is afterwards committed for the same offense, by legal order or process;

Terms Used In California Penal Code 1496

  • Habeas corpus: A writ that is usually used to bring a prisoner before the court to determine the legality of his imprisonment. It may also be used to bring a person in custody before the court to give testimony, or to be prosecuted.
  • person: includes a corporation as well as a natural person. See California Penal Code 7

2. If, after a discharge for defect of proof, or for any defect of the process, warrant, or commitment in a criminal case, the prisoner is again arrested on sufficient proof and committed by legal process for the same offense.

(Enacted 1872.)