The tribunal is legislated for by the Mental Health Act 1983 as amended by the Mental Health Act 2007, and the Mental Capacity Act 2005 can also have a bearing. Patients held in the mental health system after facing criminal charges are termed 'Restricted' patients and are subject to additional controls via the Secretary of State for Justice's Mental Health Casework Section, but are still reviewed by the Mental Health Tribunal (often led by a Circuit Judge). Restricted patients have recently won appeals to have their hearings in public, which attracted substantial media attendance.