Code Section

Penal Code - PEN

PART 2. OF CRIMINAL PROCEDURE [681 - 1620]

  ( Part 2 enacted 1872. )
  

TITLE 12. OF SPECIAL PROCEEDINGS OF A CRIMINAL NATURE [1473 - 1564]

  ( Title 12 enacted 1872. )
  

CHAPTER 1. Of the Writ of Habeas Corpus [1473 - 1509.1]
  ( Chapter 1 enacted 1872. )

  
1489.  

If it appears to the Court or Judge, by affidavit or otherwise, or upon the inspection of the process or warrant of commitment, and such other papers in the proceedings as may be shown to the Court or Judge, that the party is guilty of a criminal offense, or ought not to be discharged, such Court or Judge, although the charge is defective or unsubstantially set forth in such process or warrant of commitment, must cause the complainant or other necessary witnesses to be subpoenaed to attend at such time as ordered, to testify before the Court or Judge; and upon the examination he may discharge such prisoner, let him to bail, if the offense be bailable, or recommit him to custody, as may be just and legal.

(Enacted 1872.)