The petition shall state in substance:

Terms Used In New Mexico Statutes 44-1-5

  • Writ: A formal written command, issued from the court, requiring the performance of a specific act.

A. that the person in whose behalf the writ is applied for is imprisoned or restrained of his liberty, the officer or person by whom he is so confined or restrained and the place where, naming both parties, if their names are known, or describing them if they are not;

B. that such person is not committed or detained by virtue of any process, judgment, decree or execution, specified in Section 44-1-2 N.M. Stat. Ann.;

C. the cause or pretense of such confinement or restraint, according to the knowledge or belief of the party verifying the petition;

D. if the confinement or restraint is by virtue of any warrant, or order, or process, a copy thereof shall be annexed, or it shall be averred that by reason of such prisoner being removed or concealed before application, a demand of such copy could not be made, or that such demand was made, and the legal fees therefor tendered to the officer or person having such prisoner in his custody, and that such copy was refused;

E. if the imprisonment is alleged to be illegal, the petition shall state in what the illegality consists.