New mexico constitution
Article VI: judicial department
Section 34

The office of any justice or judge subject to the provisions of Article 6, Section 33 of this constitution becomes vacant on January 1 immediately following the general election at which the justice or judge is rejected by more than forty-three percent of those voting on the question of retention or rejection or on January 1 immediately following the date the justice or judge fails to file a declaration of candidacy for the retention of the justice's or judge's office in the general election at which the justice or judge would be subject to retention or rejection by the electorate. Otherwise, the office becomes vacant upon the date of the death, resignation or removal by impeachment of the justice or judge.