> 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. Civil Practice Law and Rules § 7007 — Warrant preceding or accompanying writ

- **Citation**: N.Y. Civil Practice Law and Rules § 7007
- **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/CVP/7007](https://www.nysenate.gov/legislation/laws/CVP/7007)
- **Canonical URL**: [https://corpuslaw.us/codes/new-york/civil-practice-law-and-rules/article-70/section-7007](https://corpuslaw.us/codes/new-york/civil-practice-law-and-rules/article-70/section-7007)
- **Semantic URL**: [https://corpuslaw.us/codes/new-york/civil-practice-law-and-rules/article-70/section-7007](https://corpuslaw.us/codes/new-york/civil-practice-law-and-rules/article-70/section-7007)

## Hierarchy

Division CVP — Civil Practice Law and Rules > Article 70 — HABEAS CORPUS

## Text

§ 7007.

Warrant preceding or accompanying writ. A court authorized to issue a writ of habeas corpus, upon satisfactory proof that a person is wrongfully detained and will be removed from the state or suffer irreparable injury before he can be relieved by habeas corpus, shall issue a warrant of attachment directed to an appropriate officer requiring him immediately to bring the person detained before the court. A writ of habeas corpus directed to the person having custody of the person detained shall also be issued. Where it appears that the detention constitutes a criminal offense, the warrant may order the apprehension of the person responsible for the detention, who shall then be brought before the court issuing the warrant and examined as in a criminal case.
