2021 New Mexico Statutes
Article 1 - Habeas Corpus
Section 44-1-18 - [Legality or justice of judgment or execution.]

But no officer on the return of any habeas corpus can inquire into the legality or justice of any judgment, decree or execution specified in Section 44-1-16 NMSA 1978.
History: Laws 1884, ch. 1, § 18; C.L. 1884, § 2029; C.L. 1897, § 2798; Code 1915, § 2606; C.S. 1929, § 63-118; 1941 Comp., § 25-1118; 1953 Comp., § 22-11-18.
Legality of imprisonment does not rest upon mittimus, but upon judgment, and a prisoner who has been legally and properly sentenced to prison cannot obtain his discharge simply because there is an imperfection, or error, in the mittimus. Shankle v. Woodruff, 1958-NMSC-054, 64 N.M. 88, 324 P.2d 1017.
Valid judgment is not nullified by flaws in the commitment. Shankle v. Woodruff, 1958-NMSC-054, 64 N.M. 88, 324 P.2d 1017.
Objections to information not grounds for release. — Petitioner's objections to an information, if valid and the error reserved, might make the basis of a timely appeal but are not grounds for release on habeas corpus. Shankle v. Woodruff, 1958-NMSC-054, 64 N.M. 88, 324 P.2d 1017.
Am. Jur. 2d, A.L.R. and C.J.S. references. — 39 Am. Jur. 2d Habeas Corpus § 64.
39 C.J.S. Habeas Corpus § 81.

Structure 2021 New Mexico Statutes

2021 New Mexico Statutes

Chapter 44 - Miscellaneous Civil Law Matters

Article 1 - Habeas Corpus

Section 44-1-1 - [Who may obtain writ.]

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

Section 44-1-3 - [Application for writ; to whom made; petition; signature; verification.]

Section 44-1-4 - [Application to officer residing outside district of detention; jurisdictional proof required.]

Section 44-1-5 - [Petition for writ; allegations; exhibits.]

Section 44-1-6 - [Form of writ.]

Section 44-1-7 - [Defects of form; names of prisoner and custodian.]

Section 44-1-8 - [Wrongful refusal of writ; forfeiture.]

Section 44-1-9 - [Return; contents; exhibits; signature; verification.]

Section 44-1-10 - [Petitioner to be produced; exception.]

Section 44-1-11 - [Attachment for disobedience of writ; issuance; to whom directed; proceedings.]

Section 44-1-12 - [Attachment against sheriff; place of detention.]

Section 44-1-13 - [Precept for production of petitioner by officer executing attachment.]

Section 44-1-14 - [Hearing.]

Section 44-1-15 - [When petitioner will be discharged.]

Section 44-1-16 - [When petitioner will be remanded to custody.]

Section 44-1-17 - [Causes for discharge of petitioner in custody under civil process.]

Section 44-1-18 - [Legality or justice of judgment or execution.]

Section 44-1-19 - [Petitioner legally committed or guilty of offense; release on bail.]

Section 44-1-20 - [Decision in other cases.]

Section 44-1-21 - [Custody of petitioner pending decision.]

Section 44-1-22 - [Notice of hearing.]

Section 44-1-23 - [Bail proceedings; authorization of habeas corpus; committing magistrate's proceedings to be reviewed.]

Section 44-1-24 - [Certiorari to committing magistrate; transcript; examination of case de novo; decision.]

Section 44-1-25 - [Pleading by petitioner after return; summary hearing.]

Section 44-1-26 - [Procedure when petitioner is sick or infirm.]

Section 44-1-27 - [Disobedience of order for discharge; attachment; damages recoverable.]

Section 44-1-28 - [Detention for same offense after discharge on habeas corpus prohibited; when permissible.]

Section 44-1-29 - [Concealment or transfer of prisoner to avoid writ; forfeiture.]

Section 44-1-30 - [Detention officer refusing to furnish copies; forfeiture.]

Section 44-1-31 - [When writ returnable; seal.]

Section 44-1-32 - [Who may serve writ; tender of fees; bond for costs and restoration of prisoner.]

Section 44-1-33 - [Service by delivery to custodian or person to whom writ is directed.]

Section 44-1-34 - [Service by posting.]

Section 44-1-35 - [Time allowed for making return and producing prisoner.]

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

Section 44-1-37 - [Sheriff's fees for producing prisoner.]

Section 44-1-38 - [Federal court proceedings; payment of costs, fees and expenses by state penitentiary.]