N.M. Stat. Ann. § 44-1-5
The petition shall state in substance:
History: Laws 1884, ch. 1, § 5; C.L. 1884, § 2016; C.L. 1897, § 2785; Code 1915, § 2593; C.S. 1929, § 63-105; 1941 Comp., § 25-1105; 1953 Comp., § 22-11-5.
Cross references. — For signature and verification of petition, see 44-1-3 NMSA 1978.
Post-conviction proceedings must be invoked before habeas corpus may be sought. In re Martinez, 1982-NMSC-115, 99 N.M. 198, 656 P.2d 861.
Juvenile court justice is not proper party in habeas corpus proceeding; only persons having physical custody of petitioner and able to produce him in court may properly be named as respondent in such proceeding. Peyton v. Nord, 1968-NMSC-027, 78 N.M. 717, 437 P.2d 716.
Law reviews. — For article, "Habeas Corpus in New Mexico," see 11 N.M.L. Rev. 291 (1981).
Am. Jur. 2d, A.L.R. and C.J.S. references. — 39 Am. Jur. 2d Habeas Corpus §§ 121 to 125.
Propriety of federal court's considering state prisoner's petition under 28 USCS § 2254 where prisoner has exhausted state remedies as to some, but not all, claims in petition, 43 A.L.R. Fed. 631.
Abuse of writ as basis for dismissal of state prisoner's second or successive petition for federal habeas corpus, 60 A.L.R. Fed. 481.
39A C.J.S. Habeas Corpus §§ 168, 169.