If it is found pursuant to chapter 23A-10A, that a person accused of a crime is unfit to proceed as a result of mental illness or defect because such person lacks the capacity to understand the proceedings against him or to assist in his own defense, the attorney general shall bring an action under the civil procedure laws and rules of this state to determine the disposition of the escrow account.
SDCL 23A-28A-10