Kan. Stat. Ann. § 48-3021
(a) Any person subject to this code shall be punished at the direction of a commanding officer, whether or not the prisoner was committed to such person's charge in strict compliance with the law if such person:
L. 1972, ch. 203, § 48-3021; L. 2024, ch. 78, § 87; July 1.