The General Directorate of Prisons is an institution under the Ministry of Justice that, according to the law, follows and realises the organisation and functioning of the pre-trial detention system, the execution of criminal decisions, the serving of punishment and the treatment of persons who are detained, arrested or sentenced to imprisonment.