Whenever it becomes known to any warden or prison official or any prison, probation, parole or police officer or other peace officer that any person charged with or convicted of a noncapital felony is or may be a habitual offender, it is his duty to promptly report the facts to the district attorney of the proper district, who shall then file an information.
NMS § 31-18-18