> 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.D. Cent. Code § 32-22-02 — Who not entitled to relief

- **Citation**: N.D. Cent. Code § 32-22-02
- **Node Type**: section
- **Jurisdiction**: North Dakota (state)
- **Code Body**: North Dakota Century Code (Aug. 2026 snapshot) (N.D. Cent. Code)
- **Official Source**: [https://ndlegis.gov/cencode/t32c22.pdf#nameddest=32-22-02](https://ndlegis.gov/cencode/t32c22.pdf#nameddest=32-22-02)
- **Canonical URL**: [https://corpuslaw.us/codes/north-dakota/title-32/chapter-32-22/section-32-22-02](https://corpuslaw.us/codes/north-dakota/title-32/chapter-32-22/section-32-22-02)
- **Semantic URL**: [https://corpuslaw.us/codes/north-dakota/title-32/chapter-32-22/section-32-22-02](https://corpuslaw.us/codes/north-dakota/title-32/chapter-32-22/section-32-22-02)

## Hierarchy

Title 32 > Chapter 32-22

## Text

32-22-02. Who not entitled to relief

The person in whose behalf the application is made is not entitled to relief from

imprisonment or restraint under a writ of habeas corpus, if the time during which such person

may be detained legally in custody has not expired, whenever it appears:

1. That the person is detained in custody by virtue of process issued by any court or

judge of the United States in a case where such court or judge has exclusive

jurisdiction; or

2. Except as provided in section 32-22-17, that the person is detained in custody by

virtue of the final order or judgment of any competent court of criminal jurisdiction or of

any process issued upon such order or judgment.
