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

# Or. Rev. Stat. § 34.310 — Purpose of writ; who may prosecute

- **Citation**: Or. Rev. Stat. § 34.310
- **Node Type**: section
- **Jurisdiction**: Oregon (state)
- **Code Body**: Oregon Revised Statutes (2025 edition) (ORS)
- **Official Source**: [https://www.oregonlegislature.gov/bills_laws/ors/ors034.html#34.310](https://www.oregonlegislature.gov/bills_laws/ors/ors034.html#34.310)
- **Canonical URL**: [https://corpuslaw.us/codes/oregon/title-3/chapter-34/section-34-310](https://corpuslaw.us/codes/oregon/title-3/chapter-34/section-34-310)
- **Semantic URL**: [https://corpuslaw.us/codes/oregon/title-3/chapter-34/section-34-310](https://corpuslaw.us/codes/oregon/title-3/chapter-34/section-34-310)

## Hierarchy

Title 3 — Remedies and Special Actions and Proceedings > Chapter 34 — Writs

## Text

34.310. Purpose of writ; who may prosecute

The writ of habeas corpus ad subjiciendum is the writ designated in ORS 34.310 to 34.730, and every other writ of habeas corpus is abolished. Every person imprisoned or otherwise restrained of liberty, within this state, except in the cases specified in ORS 34.330, may prosecute a writ of habeas corpus to inquire into the cause of such imprisonment or restraint, and if illegal, to be delivered therefrom.
