A person must serve a sentence of confinement imposed by a court-martial, whether or not the sentence includes discharge or dismissal from the militia of the state, and whether or not the discharge or dismissal has been executed. The sentence may be carried into execution by confinement in a place authorized by the code of military justice. A person confined under the code of military justice is subject to the same discipline and treatment as other persons confined or committed to the place of confinement.
AS 26.05.600