New Mexico Constitution Article VI § 24 – District attorneys
There shall be a district attorney for each judicial district, who shall be learned in the law, and who shall have been a resident of New Mexico for three years next prior to his election, shall be the law officer of the state and of the counties within his district, shall be elected for a term of four years, and shall perform such duties and receive such salary as may be prescribed by law.
The legislature shall have the power to provide for the election of additional district attorneys in any judicial district and to designate the counties therein for which the district attorneys shall serve; but no district attorney shall be elected for any district of which he is not a resident.