> 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).

# D.C. Code § 16-1901 — Petition; issuance of writ.

- **Citation**: D.C. Code § 16-1901
- **Node Type**: section
- **Jurisdiction**: District of Columbia (state)
- **Code Body**: Code of the District of Columbia (through D.C. Law 26-190, Oct. 14, 2026) (D.C. Code)
- **Official Source**: [https://code.dccouncil.gov/us/dc/council/code/sections/16-1901](https://code.dccouncil.gov/us/dc/council/code/sections/16-1901)
- **Canonical URL**: [https://corpuslaw.us/codes/district-of-columbia/division-ii/title-16/chapter-19/section-16-1901](https://corpuslaw.us/codes/district-of-columbia/division-ii/title-16/chapter-19/section-16-1901)
- **Semantic URL**: [https://corpuslaw.us/codes/district-of-columbia/division-ii/title-16/chapter-19/section-16-1901](https://corpuslaw.us/codes/district-of-columbia/division-ii/title-16/chapter-19/section-16-1901)

## Hierarchy

Division II — Division II. Judiciary and Judicial Procedure. > Title 16 — Particular Actions, Proceedings and Matters. [Enacted title] > Chapter 19 — Habeas Corpus.

## Text

16-1901. Petition; issuance of writ.

(a)
A person committed, detained, confined, or restrained from his lawful liberty within the District, under any color or pretense whatever, or a person in his behalf, may apply by petition to the appropriate court, or a judge thereof, for a writ of habeas corpus, to the end that the cause of the commitment, detainer, confinement, or restraint may be inquired into. The court or the judge applied to, if the facts set forth in the petition make a prima facie case, shall forthwith grant the writ, directed to the officer or other person in whose custody or keeping the party so detained is returnable forthwith before the court or judge.

(b)
Petitions for writs directed to Federal officers and employees shall be filed in the United States District Court for the District of Columbia.

(c)
Petitions for writs directed to any other person shall be filed in the Superior Court of the District of Columbia.

(Dec. 23, 1963, 77 Stat. 583, Pub. L. 88-241, § 1; July 29, 1970, 84 Stat. 560, Pub. L. 91-358, title I, § 145(h)(1).)
