21-2512.
Forensic DNA testing; limits thereof.
(a) Notwithstanding any other provision of law, a person in state custody, at any time after conviction for murder in the first degree as defined by K.S.A. 21-3401, prior to its repeal, or K.S.A. 2017 Supp. 21-5402, and amendments thereto, or for rape as defined by K.S.A. 21-3502, prior to its repeal, or K.S.A. 2017 Supp. 21-5503, and amendments thereto, may petition the court that entered the judgment for forensic DNA testing (deoxyribonucleic acid testing) of any biological material that:

(1) Is related to the investigation or prosecution that resulted in the conviction;

(2) is in the actual or constructive possession of the state; and

(3) was not previously subjected to DNA testing, or can be subjected to retesting with new DNA techniques that provide a reasonable likelihood of more accurate and probative results.

(b) (1) The court shall notify the prosecuting attorney of a petition made under subsection (a) and shall afford the prosecuting attorney an opportunity to respond.

(2) Upon receiving notice of a petition made under subsection (a), the prosecuting attorney shall take such steps as are necessary to ensure that any remaining biological material that was secured in connection with the case is preserved pending the completion of proceedings under this section.

(c) The court shall order DNA testing pursuant to a petition made under subsection (a) upon a determination that testing may produce noncumulative, exculpatory evidence relevant to the claim of the petitioner that the petitioner was wrongfully convicted or sentenced.

(d) The cost of DNA testing ordered under subsection (c) shall be borne by the state or the petitioner, as the court may order in the interests of justice, if it is shown that the petitioner is not indigent and possesses the means to pay.

(e) The court may at any time appoint counsel for an indigent applicant under this section.

(f) (1) Except as provided in subsection (f)(3), if the results of DNA testing conducted under this section are unfavorable to the petitioner, the court:

(A) Shall dismiss the petition; and

(B) in the case of a petitioner who is not indigent, may assess the petitioner for the cost of such testing.

(2) If the results of DNA testing conducted under this section are favorable to the petitioner and are of such materiality that a reasonable probability exists that the new evidence would result in a different outcome at a trial or sentencing, the court shall:

(A) Order a hearing, notwithstanding any provision of law that would bar such a hearing; and

(B) enter any order that serves the interests of justice, including, but not limited to, an order:

(i) Vacating and setting aside the judgment;

(ii) discharging the petitioner if the petitioner is in custody;

(iii) resentencing the petitioner; or

(iv) granting a new trial.

(3) If the results of DNA testing conducted under this section are inconclusive, the court may order a hearing to determine whether there is a substantial question of innocence. If the petitioner proves by a preponderance of the evidence that there is a substantial question of innocence, the court shall proceed as provided in subsection (f)(2).

(g) Nothing in this section shall be construed to limit the circumstances under which a person may obtain DNA testing or other postconviction relief under any other provision of law.