23A-17-1. (Rule 20(a)) Consent by defendant to waive trial and accept disposition in county where arrested or held--Approval by prosecuting attorneys--Transmittal of papers. A defendant arrested, held, or present in a county other than that in which the indictment, information, or complaint is pending against him may state in writing that he wishes to plead guilty or nolo contendere, to waive trial in the county in which the indictment, information, or complaint is pending and to consent to disposition of the case in the county in which he was arrested, is held, or is present, subject to the approval of the prosecuting attorney for each county. Upon receipt of the defendant's statement and of the written approval of the prosecuting attorney, the clerk of the court or the court in which the indictment, information, or complaint is pending shall transmit the papers in the proceeding or certified copies thereof to the clerk of the court or court for the county in which the defendant is held and the prosecution shall continue in that county.
Source: SL 1978, ch 178, § 221.