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

# NMSA 1978, § 44-1-36 — [Compelling attendance of prisoner for trial or as witness.]

- **Citation**: NMSA 1978, § 44-1-36
- **Node Type**: section
- **Jurisdiction**: New Mexico (state)
- **Code Body**: New Mexico Statutes Annotated 1978 (through the 2026 session) (NMSA 1978)
- **Official Source**: [https://nmonesource.com/nmos/nmsa-unanno/en/item/18545/index.do#!b/44-1-36](https://nmonesource.com/nmos/nmsa-unanno/en/item/18545/index.do#!b/44-1-36)
- **Canonical URL**: [https://corpuslaw.us/codes/new-mexico/chapter-44/article-1/section-44-1-36](https://corpuslaw.us/codes/new-mexico/chapter-44/article-1/section-44-1-36)
- **Semantic URL**: [https://corpuslaw.us/codes/new-mexico/chapter-44/article-1/section-44-1-36](https://corpuslaw.us/codes/new-mexico/chapter-44/article-1/section-44-1-36)

## Hierarchy

Chapter 44 — Miscellaneous Civil Law Matters > Article 1 — Habeas Corpus

## Text

44-1-36. [Compelling attendance of prisoner for trial or as witness.]

Nothing contained in this chapter shall be construed to restrain the power of any court to issue a writ of habeas corpus when necessary to bring before them any prisoner for trial, in any criminal case lawfully pending in the same court, or to bring any prisoner to be examined as a witness in any action or proceeding, civil or criminal, pending in such court, when they think the personal attendance and examination of the witness necessary for the attainment of justice.

Laws 1884, ch. 1, § 35; C.L. 1884, § 2046; C.L. 1897, § 2816; Code 1915, § 2624; C.S. 1929, § 63-136; 1941 Comp., § 25-1136; 1953 Comp., § 22-11-36.
