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

# Tex. GOV'T Code § 26.047. — HABEAS CORPUS.

- **Citation**: Tex. GOV'T Code § 26.047.
- **Node Type**: section
- **Jurisdiction**: Texas (state)
- **Code Body**: Texas Statutes (Tex. Code)
- **Official Source**: [https://statutes.capitol.texas.gov/](https://statutes.capitol.texas.gov/)
- **Canonical URL**: [https://corpuslaw.us/codes/texas/government-code/title-2/chapter-26/section-26-047](https://corpuslaw.us/codes/texas/government-code/title-2/chapter-26/section-26-047)
- **Semantic URL**: [https://corpuslaw.us/codes/texas/government-code/title-2/chapter-26/section-26-047](https://corpuslaw.us/codes/texas/government-code/title-2/chapter-26/section-26-047)

## Hierarchy

Title 2 — JUDICIAL BRANCH > Chapter 26 — CONSTITUTIONAL COUNTY COURTS

## Text

(a)  A county court may issue a writ of habeas corpus in any case in which the constitution has not conferred the power on the district courts.

(b)  On return of a writ of habeas corpus, the court may remand to custody, admit to bail, or discharge the person imprisoned or detained, as the law and nature of the case require.
