Upon conviction of a defendant of capital murder and a finding that the defendant was less than 18 years of age at the time of the commission thereof, the court shall sentence the defendant as otherwise provided by law, and no sentence of death or life without the possibility of parole shall be imposed hereunder.
K.S.A. 21-6618