(a) When the person is confined in a county jail or any other place on a charge of felony or under a commitment or an indictment for felony, the petition for a writ of habeas corpus must be addressed to the nearest circuit court judge.

Terms Used In Alabama Code 15-21-6

  • circuit: means judicial circuit. See Alabama Code 1-1-1
  • 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.
  • Indictment: The formal charge issued by a grand jury stating that there is enough evidence that the defendant committed the crime to justify having a trial; it is used primarily for felonies.
  • person: includes a corporation as well as a natural person. See Alabama Code 1-1-1
  • Writ: A formal written command, issued from the court, requiring the performance of a specific act.
(b) When the person is confined in the penitentiary or under a sentence, judgment or order of the supreme court or the circuit court, other than an indictment for felony, the petition must be addressed to the nearest circuit court judge.
(c) In all other cases, it may be addressed to any one of them, and when the person is confined in any other place than the county jail or the penitentiary and on any other than a criminal charge, it may be addressed to any circuit court judge.