Any portion of a sentence imposed by a military court that prescribes confinement must be executed in such facility as the reviewing authority may direct. The expenses of such confinement must be borne by the state of North Dakota. A commitment in writing must be executed by the presiding officer of the court to the sheriff or jailer where temporary restraint is deemed necessary, but if the confinement is the result of the confirmed action of the reviewing authority, an official copy of the order publishing the sentence of the court must be furnished to the sheriff or jailer.
N.D.C.C. § 37-09-12