> 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-2 — [Detention under judgment or execution; contempt.]

- **Citation**: NMSA 1978, § 44-1-2
- **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-2](https://nmonesource.com/nmos/nmsa-unanno/en/item/18545/index.do#!b/44-1-2)
- **Canonical URL**: [https://corpuslaw.us/codes/new-mexico/chapter-44/article-1/section-44-1-2](https://corpuslaw.us/codes/new-mexico/chapter-44/article-1/section-44-1-2)
- **Semantic URL**: [https://corpuslaw.us/codes/new-mexico/chapter-44/article-1/section-44-1-2](https://corpuslaw.us/codes/new-mexico/chapter-44/article-1/section-44-1-2)

## Hierarchy

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

## Text

44-1-2. [Detention under judgment or execution; contempt.]

The following persons are not entitled to prosecute such writ: persons committed or detained by virtue of the final judgment, conviction or decree of any competent tribunal or by virtue of an execution issued upon such judgment or decree; but no order of commitment for any alleged contempt, or upon proceedings as for contempt, to enforce the rights or remedies of any party shall be deemed a judgment, conviction or decree within the meaning of this section; nor shall any attachment or other process issued upon any such order be deemed an execution within the meaning of this section.

Laws 1884, ch. 1, § 2; C.L. 1884, § 2013; C.L. 1897, § 2782; Code 1915, § 2590; C.S. 1929, § 63-102; 1941 Comp., § 25-1102; 1953 Comp., § 22-11-2.
