4.  In 2005 to 2006 the applicant was prosecuted for various crimes. He was eventually found guilty of aggravated robbery and sentenced to seven years’ imprisonment, the final decision having been adopted on 19 September 2006. 5.  From 27 May 2005 to 3 October 2006 the applicant was detained at a pre-trial detention centre (SIZO) in Kropyvnytskyi (then named Kirovograd). 6.  From 4 October 2006 to 20 March 2008 the applicant was detained at correctional colony no. 6 in Kropyvnytskyi (hereinafter “the first colony”). 7.  According to the applicant, he was held in a dormitory measuring 6 by 8 sq. m and containing twelve double bunk beds. The Government submitted that the dormitory concerned measured 41.68 sq. m and contained ten single beds. They submitted photographs supposedly corroborating their submissions in that regard. 8.  The applicant alleged that electricity in the colony had been regularly switched off. The Government submitted that electricity was supplied round the clock but, to reduce power consumption as part of a nationwide energy‑saving strategy, the voltage of the general lighting in the institution had been reduced from 220 to 110 V. The applicant submitted that that meant that, even when the lighting had been on, the cell had been dimly lit and the light insufficient for activities such as reading and sewing. 9.  The applicant also alleged that he had not been given the essential items and that he had been “beaten, humiliated, tortured [and] placed in a disciplinary cell”. In particular, he alleged that he had been beaten on arrival at the colony on 4 October 2006 and that the guards had tried to place him into a psychiatric clinic in March 2007. The Government denied those allegations. 10.  On 23 May 2008 the applicant was transferred to correctional colony no. 78 in the village of Raikivtsi, Khmelnytsk Region (hereinafter “the second colony”), where he stayed until his release on 25 May 2012. 11.  The applicant alleged that the food in the correctional colonies had been inadequate and of a poor quality. He alleged that at both correctional colonies the sanitary conditions had been inadequate in that there had been cockroaches and sometimes mice and rats. The Government denied those allegations. They submitted that the food supply had been in accordance with the relevant regulations and regularly checked. In support of their submissions they submitted a number of logs and reports from the prison authorities showing that portions compliant with the regulations in force had been distributed to the prisoners, and that the sanitary conditions had been checked and found to be appropriate. They also submitted several statements from inmates who alleged that they had served time with the applicant and stated that the conditions of their detention, particularly in terms of the provision of food, clothes and sanitary conditions, had been appropriate. 12.  The applicant alleged that he had been repeatedly ill-treated by prison guards, that the prison authorities had intercepted, reviewed, blocked and delayed his correspondence, particularly that with the Court and the Parliamentary Commissioner for Human Rights, and had persecuted and threatened him for having applied to the Court. The Government denied those allegations. 13.  It appears from the documents submitted by the parties that the applicant complained many times to various domestic authorities, notably the prosecutor’s office, alleging, in general, ill-treatment and persecution by the prison authorities. In May and August 2010 he withdrew two of his complaints, stating that they had been lodged in a state of heightened emotions. 14.  Registers of incoming and outgoing mail from the correctional colonies submitted by the Government show that, in the period from 17 June 2008 to 1 December 2011 – the only period of the applicant’s detention for which specific information in this regard is available – the applicant sent and received more than sixty letters to and from various public entities, most notably various domestic courts, disciplinary commissions of judges, members of Parliament and the Presidential Administration. Under domestic law (see paragraph 21 below) this correspondence was subject to monitoring by the prison authorities. The prison registers show that the applicant also corresponded extensively with other entities, namely prosecutors, the Parliamentary Commissioner for Human Rights and the Court. This correspondence was, under domestic law, exempted from monitoring. 15.  The Government also submitted a number of cover letters prepared by the prison authorities relating to the letters sent out by the applicant. For instance, in a cover letter of November 2011 to the Judges Qualifications Commission of Ukraine the governor of the second colony stated that he was forwarding a letter by the applicant concerning the initiation of criminal proceedings against the judges of the trial court that had convicted him. 16.  The applicant alleged that the domestic authorities had denied him access to his criminal case file, thus preventing him from obtaining copies of documents related to his application to the Court. The Government denied those allegations. They submitted documents from the domestic courts showing that the applicant had examined his criminal case file on 23 December 2011[1] and 11 January 2012 and that, by a letter of 25 January 2012, the trial court had sent him a number of copies of documents from that file. 17.  After sending the Court an authority form empowering Mr Markov to represent him, the applicant sent the Court two letters, in April 2014 and April 2015, informing it that he wished to revoke the lawyer’s authority. He said that the lawyer, by seeking to derive financial benefit from the case, had demonstrated conduct unworthy of his status. 18.  In subsequent correspondence between the Registry, the applicant and the lawyer it transpired that the applicant was apparently upset about the lawyer’s inability to help him with matters unrelated to the proceedings before the Court, such as sending him various goods and representation in unrelated domestic judicial and pardon proceedings. 19.  When invited to comment on the first revocation, in May 2014 the applicant informed the Court that he wished to cancel that revocation and maintain the lawyer’s authority. Following this cancellation of the first revocation and before the second revocation the lawyer submitted observations in reply to those of the Government on behalf of the applicant. 20.  After the second revocation, the lawyer’s comments questioning the seriousness of the applicant’s wish to revoke his authority were forwarded directly to the applicant with an invitation to comment. He did not respond.