N.Y. Jud. Law

N.Y. Jud. Law § 767

When habeas corpus may issue. If the accused is in the custody

This is the text of the statute as published at legislation.nysenate.gov, retrieved August 3, 2026. It is reproduced as written; Criminal.law has not summarized or reworded it. Read it at the official source, which controls if the two ever differ.

§ 767. When habeas corpus may issue. If the accused is in the custody of a sheriff, or other officer, by virtue of an execution against his person, or by virtue of a mandate for any other contempt or misconduct, or a commitment on a criminal charge the court, upon proof of the facts, may issue a writ of habeas corpus, directed to the officer, requiring him to bring the accused before it, to answer for the offense charged. The officer to whom the writ is directed, or upon whom it is served, must bring him before the court, and detain him at the place where the court is sitting, until the further order of the court.

Reading a statute is the first step

A statute says what the law is, not how it applies to one person. The Roadmap lays out the stages of a case and the questions worth taking to a lawyer — without asking what happened.

N.Y. Jud. Law § 767 — When habeas corpus may issue. If the accused is in the custody · Criminal.law