The attorney general and district attorneys of this state in their respective districts, when any civil proceedings may be pending in their respective districts, in the district court, in which the state or any county may be a party, whether the same be an ordinary suit, scire facias proceedings, proceedings growing out of any criminal prosecution, or otherwise, shall have power to compromise or settle said suit or proceedings, or grant a release or enter satisfaction in whole or in part, of any claim or judgment in the name of the state or county, or dismiss the same, or take any other steps or proceedings therein which to him may appear proper and right; and all such civil suits and proceedings shall be entirely under the management and control of the said attorney general or district attorneys, and all compromises, releases and satisfactions heretofore made or entered into by said officers are hereby confirmed and ratified.
NMS § 36-1-22