When two or more persons are charged with an offense in the same information or indictment, the court, at any time before the defendants have gone into their defense, on the application of the state's attorney, may direct any defendant to be discharged from the information or indictment, that that defendant may be a witness for the state.
N.D. Cent. Code § 29-21-08
Defendant discharged to testify
Official source: North Dakota Legislative Branch. Reproduced from public-domain North Dakota statutes; confirm against the official source for the current text. Not legal advice.