The officer by whom any such attachment is issued may also at the same time or afterward issue a precept to the sheriff, or other person to whom such attachment was directed, commanding him to bring forthwith before such officers the party for whose benefit such writ was allowed, who shall thereafter remain in the custody of such sheriff or person until he is discharged, bailed or remanded, as such officer directs.
NMS § 44-1-13