Kan. Stat. Ann. § 48-2802
The punishment which a court-martial may direct for an offense may not exceed limits prescribed by this code.
L. 1972, ch. 203, § 48-2802; July 1.