> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# N.Y. Criminal Procedure Law § 570.24 — Rights of accused person; application for writ of habeas

- **Citation**: N.Y. Criminal Procedure Law § 570.24
- **Node Type**: section
- **Jurisdiction**: New York (state)
- **Code Body**: Laws of New York (NY Senate Open Legislation, as published 2026-10-26) (N.Y. Laws)
- **Official Source**: [https://www.nysenate.gov/legislation/laws/CPL/570.24](https://www.nysenate.gov/legislation/laws/CPL/570.24)
- **Canonical URL**: [https://corpuslaw.us/codes/new-york/criminal-procedure-law/article-255/section-570-24](https://corpuslaw.us/codes/new-york/criminal-procedure-law/article-255/section-570-24)
- **Semantic URL**: [https://corpuslaw.us/codes/new-york/criminal-procedure-law/article-255/section-570-24](https://corpuslaw.us/codes/new-york/criminal-procedure-law/article-255/section-570-24)

## Hierarchy

Division CPL — Criminal Procedure Law > Article 255 — PRE-TRIAL MOTIONS

## Text

§ 570.24.

Rights of accused person; application for writ of habeas

corpus.

No person arrested upon such warrant shall be delivered over to the agent whom the executive authority demanding him shall have appointed to receive him unless he shall first be taken forthwith before a justice or judge of a court of record in this state, who shall inform him of the demand made for his surrender and of the crime with which he is charged, and that he has the right to demand and procure legal counsel; and if the prisoner or his counsel shall state that he or they desire to test the legality of his arrest, the justice or judge of such court of record shall fix a reasonable time to be allowed within which to apply for a writ of habeas corpus. When such writ is applied for, notice thereof, and of the time and place of hearing thereon, shall be given to the district attorney of the county in which the arrest is made and in which the accused is in custody, and to the said agent of the demanding state.
