Terms Used In Texas Code of Criminal Procedure 11.40

  • 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 corporation, organization, government or governmental subdivision or agency, business trust, estate, trust, partnership, association, and any other legal entity. See Texas Government Code 311.005
  • Writ: A formal written command, issued from the court, requiring the performance of a specific act.

The judge or court before whom a person is brought by writ of habeas corpus shall examine the writ and the papers attached to it; and if no legal cause be shown for the imprisonment or restraint, or if it appear that the imprisonment or restraint, though at first legal, cannot for any cause be lawfully prolonged, the applicant shall be discharged.