Okla. Stat. tit. 22, § 1161
An act committed by a person in a state of insanity cannot be punished as a public offense, nor can said person be tried, sentenced to punishment, or punished for a public offense while he is insane. When in any criminal action by indictment or information the defense of insanity is interposed either singly or in conjunction with some other defense, the jury shall state in the verdict, if it is one of acquittal, whether or not the defendant is acquitted on the ground of insanity. When the defendant is acquitted on the ground that he was insane at the time of the commission of the crime charged, said person shall not be discharged from custody until the court has made a determination that said person is not presently mentally ill and dangerous to the public peace or safety.
To assist the court in its determination, the court shall immediately issue an examination order and specify the state hospital for the mentally ill in which the said person is to be hospitalized. Upon the issuance of the order, the sheriff shall deliver the said person to the designated hospital for the mentally ill where the said person shall remain hospitalized for a period of not less than thirty (30) days. Within forty-five (45) days of said hospitalization, a hearing shall be conducted by the court to ascertain whether the said person is presently mentally ill and dangerous to the public peace or safety. During the required period of hospitalization the Department of Mental Health and Substance Abuse Services shall have the said person examined by two qualified psychiatrists or one such psychiatrist and one qualified clinical psychologist. Each examiner shall individually prepare and submit to the court, the district attorney and trial counsel a report of his findings and an evaluation concerning whether the said person is presently mentally ill and dangerous to the public peace and safety. If the court is unsatisfied with the psychiatric reports or if a disagreement on the issue of present mental illness and dangerousness exists between the two examiners, the court may designate one or more additional psychiatrists and have them submit their findings and evaluations as specified above.
Within ten (10) days after the psychiatric reports are filed, the court must conduct a hearing to determine the said person's present condition as to the issue of whether he is presently mentally ill and dangerous to the public peace or safety. The district attorney must establish by a preponderance of the evidence that the defendant is presently mentally ill and dangerous to the public peace or safety. At this hearing the said person shall have the assistance of counsel and may present independent evidence as to the issue of whether he is presently mentally ill and dangerous to the public peace or safety. If the court finds that the said person is not presently mentally ill and dangerous to the public peace or safety, it shall immediately discharge the said person from hospitalization. If the court finds that the said person is presently mentally ill and dangerous to the public peace or safety, it shall commit the said person to the custody of the Department of Mental Health and Substance Abuse Services. The said person shall then be subject to discharge pursuant to the procedure set forth in the Mental Health and Substance Abuse Services Law.
During the period of hospitalization the Department of Mental Health and Substance Abuse Services may administer or cause to be administered to the said person such psychiatric, medical or other therapeutic treatment as in its judgment should be administered.
During the period of hospitalization the Superintendent shall submit an annual report on the status of the said person to the court, the district attorney and the patient's advocate of the hospital in which the said person is hospitalized. Not less than twenty (20) days prior to the scheduled release of the said person the Superintendent of the hospital for the mentally ill must deliver a written notice of the proposed discharge to the court, the district attorney and the patient's advocate of the said hospital. Upon motion by the district attorney a second hearing shall be conducted by the court to ascertain if the said person is mentally ill and dangerous to the public peace or safety. This hearing shall be conducted under the same procedure as the first hearing and must occur not less than ten (10) days before the scheduled release. If the court determines that the said person continues to be mentally ill and dangerous to the public peace or safety, it shall return the said person to the hospital for additional treatment. Additional hearings may be conducted upon motion by the district attorney under the same provisions as described in this section.
R.L. 1910, § 6049; Amended by Laws 1935, SB 55, p. 19, § 1, emerg. eff. May 8, 1935; Amended by Laws 1975, SB 19, c. 92, § 1; Amended by Laws 1983, HB 1360, c. 94, § 1, eff. November 1, 1983; Amended by Laws 1990, SB 866, c. 51, § 16, emerg. eff. April 9, 1990.