Proceedings upon plea, §17-7-131. Mental competency to stand trial. Accused found mentally incompetent to stand trial, §17-7-130. Bona fide doubt as to competency. Court’s duty to inquired into competency, §17-7-129. Civil commitment or release. Accused found mentally incompetent to stand trial, §17-7-130. 1587 INDEX CRIMINAL LAW AND PROCEDURE —Cont’d Mental competency to stand trial —Cont’d Continued treatment. Substantial possibility competency attained, §17-7-130. Court’s duty to inquired into competency, §17-7-129. Definitions, §17-7-130. Evaluation of accused’s competency. Accused found mentally incompetent to stand trial, §17-7-130. Court order, §17-7-129. Motion by accused requesting, §17-7-130. Report, sealing, submission to accused’s attorney, release to prosecuting attorney, §§17-7-129, 17-7-130. Mental health advocacy division. Duty to represent indigents, §17-12-11. Mental health advocate, §17-12-11. Proceedings upon plea of incompetence, §17-7-130. Returning accused to custody of sheriff. Accused determined competent, §17-7-130. Special plea filed by accused.