A patient held on order of a court having criminal jurisdiction in any action or proceeding arising out of a criminal offense shall not be discharged except upon order of a court of competent jurisdiction. At any time the head of the hospital is of the opinion that the person is no longer affected by mental illness or deficiency, or that he no longer presents a substantial risk of danger to himself or others, the head of the hospital shall apply to the court which committed the person for an order of discharge. The court having criminal jurisdiction in the matter shall conduct a hearing not less than once each year to determine whether the continued hospitalization of the patient is necessary, based on the reports required under W.S. 25-10-116 and any other information provided to the court by the state hospital or the federal hospital under W.S. 25-10-111, as appropriate, or the patient's counsel. After a hearing, the court shall make its findings and enter an order as provided in W.S. 25-10-118(c).
W.S. 25-10-123