N.M. Stat. § 1-13-12
Post-election duties; mandamus to compel canvass.
The district court, upon petition of any voter, may issue a writ of mandamus to the county
canvassing board to compel it to approve the report of the county canvass and certify the
election returns.