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

# O.C.G.A. § 9-14-5 — When writ granted.

- **Citation**: O.C.G.A. § 9-14-5
- **Node Type**: section
- **Jurisdiction**: Georgia (state)
- **Code Body**: Official Code of Georgia Annotated (volumes rebuilt with Ga. L. through the 2026 session; partial) (O.C.G.A.)
- **Official Source**: [https://archive.org/download/gov.ga.ocga.2024/T09%20Ch12-16%20%28V7A%29%202015.txt](https://archive.org/download/gov.ga.ocga.2024/T09%20Ch12-16%20%28V7A%29%202015.txt)
- **Canonical URL**: [https://corpuslaw.us/codes/georgia/title-9/chapter-14/article-1/section-9-14-5](https://corpuslaw.us/codes/georgia/title-9/chapter-14/article-1/section-9-14-5)
- **Semantic URL**: [https://corpuslaw.us/codes/georgia/title-9/chapter-14/article-1/section-9-14-5](https://corpuslaw.us/codes/georgia/title-9/chapter-14/article-1/section-9-14-5)

## Hierarchy

Title 9 — Civil Practice > Chapter 14 — Habeas Corpus > Article 1 — General Provisions

## Text

9-14-5. When writ granted.

When upon examination of the petition for a writ of habeas corpus it appears to the judge that the restraint of liberty is illegal, he shall grant the writ, requiring the person restraining the liberty of another or illegally detaining such person in his custody to bring the person before him at a time and place to be specified in the writ for the purpose of an examination into the cause of the detention.

(Orig. Code 1863, § 3912; Code 1868, § 3936; Code 1873, § 4012; Code 1882, § 4012; Penal Code 1895, § 1213; Penal Code 1910, § 1294; Code 1933, § 50-104.)
