§ 1106. Habeas corpus. If it appears, by affidavit, to the satisfaction of the court, that the person required to be produced is imprisoned within the state, for any cause, except upon a sentence for a felony, or is kept or detained, within the state, by any person, the court may, either before or after making the order for production, issue a writ of habeas corpus to bring him before it, or before the referee, as the case requires. The writ must be served and executed, and disobedience thereto may be punished, as where a writ of habeas corpus is issued, to inquire into the cause of the detention of a prisoner.

Terms Used In N.Y. Real Property Actions and Proceedings Law 1106

  • Affidavit: A written statement of facts confirmed by the oath of the party making it, before a notary or officer having authority to administer oaths.
  • 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.
  • Writ: A formal written command, issued from the court, requiring the performance of a specific act.