5.  The applicant was born in 1963 and lived before his arrest in Ufa, Republic of Bashkortostan. He is currently detained in Ufa IZ-3/1 remand prison. 6.  On 24 November 2006 the applicant was arrested on suspicion of drug trafficking. 7.  On 25 November 2006 he was charged with large-scale drug trafficking committed in conspiracy with other drug dealers. On the same date Leninskiy District Court (Ufa) examined the investigator’s request to remand the applicant in custody. The court held as follows:
“Mr Pyatkov Yu.A. is charged with a serious offence, which is punishable by a term of imprisonment of more than two years.
Moreover, Mr Pyatkov Yu. A. was previously convicted of criminal offences on several occasions; his most recent conviction was in 2006.
Furthermore, Mr Pyatkov Yu.A. is a drug addict, and if released, he might engage in further criminal activities related to drugs in order to provide himself with drugs and improve his financial situation.” 8.  Taking into account the above elements, the danger to society presented by the offences imputed to the applicant, and the need to secure the execution of his sentence, Leninskiy District Court remanded the applicant in custody. The applicant did not appeal against that decision. 9.  On 23 January 2007 Leninskiy District Court extended the applicant’s detention until 17 May 2007, referring to the gravity of the charges against him. The court further held that the applicant was a drug addict, had a criminal record and if released he might abscond, continue his criminal activities or interfere with the proceedings, and noted that his detention was necessary in order to secure the execution of his sentence. The applicant did not appeal against that decision. 10.  On 11 May 2007 Kirovskiy District Court (Ufa) extended the applicant’s detention until 17 August 2007. The court held, in particular, that the period fixed by the court for the applicant’s detention was not sufficient to allow a judge, who would receive the case for examination on the merits, to take a decision concerning the applicant’s detention during the trial. The court also held that the applicant was charged with a serious offence presenting a danger to society, and that if released he might continue criminal activities, abscond, or interfere with the proceedings. The court also noted that the applicant’s detention was necessary in order to secure the execution of the sentence. 11.  On 14 August 2007 Kirovskiy District Court extended the applicant’s detention until 17 November 2007, on the same grounds as given in its decision of 11 May 2007. 12.  On 29 September 2007 the applicant was presented with the final version of the charges. He was accused of several episodes of large-scale drug trafficking committed as a member of an organised criminal group. 13.  On 22 October 2007 the applicant and his counsel started familiarising themselves with the materials of the criminal case as did the other twenty-nine defendants. According to the Government, the file consisted of 160 volumes. 14.  On 15 November 2007 the Supreme Court of the Republic of Bashkortostan (“the Supreme Court”) extended the applicant’s detention until 17 February 2008, bringing its total duration to fourteen months and twenty-four days. In taking that decision the Supreme Court stated that the applicant was charged with a serious offence, and that if released he might flee from justice, engage in criminal activities or obstruct the establishment of the truth. 15.  On 7 February 2008 the Supreme Court granted the investigation authorities’ request for the applicant’s detention to be extended until 17 May 2008, bringing its total duration to seventeen months and twenty-four days. The court held as follows:
“Mr Pyatkov is charged with particularly serious offences punishable by more than two years’ imprisonment. The grounds on which he was initially remanded in custody ... had not changed. The investigation of the criminal case is particularly complex. These circumstances should be regarded as extraordinary circumstances which can serve as a basis for the extension of the defendant’s detention.” 16.  In his appeal against that detention order the applicant requested that the preventive measure be changed to a written undertaking not to leave the town since he was suffering from a serious disease. 17.  On 16 April 2008 the Supreme Court of the Russian Federation upheld the detention order of 7 February 2008. It found, in particular, that the fact that the applicant was under medical supervision in the remand prison because he had been diagnosed with Human Immunodeficiency Virus (“HIV”) could not be a ground for his release on a written undertaking. 18.  On 15 May 2008 the Supreme Court, at the investigator’s request, extended the applicant’s detention until 24 May 2008, thus bringing its total duration to eighteen months. The court held as follows:
“... the grounds on which his [the applicant’s] detention had been based had not changed. These grounds had been sufficient for placing him in detention, since he had been charged with particularly serious offences as a member of an organised criminal group. Therefore, the investigator’s request is duly reasoned and should be granted.” 19.  On 20 May 2008 the Supreme Court examined the investigator’s request, supported by the prosecutor, for extension of the applicant’s detention beyond the maximum period of eighteen months. The investigator submitted that owing to the volume and complexity of the criminal case and the large number of co-defendants and their counsel, the applicant and his counsel needed additional time to familiarise themselves with the criminal case. The Supreme Court decided, referring to Article 109 of the Criminal Procedure Code (“the CCrP”, see Relevant domestic law below), to extend the applicant’s detention until 17 August 2008, bringing its total duration to twenty-one months. The court held as follows:
“The term of Mr Pyatkov’s detention is to expire on 24 May 2008. As required by Article 109 § 5 of the CCrP, the investigation was completed and the materials of the criminal case presented to the applicant and his counsel no later than thirty days before the expiration of the maximum period of detention. However, it appears difficult to complete the pre-trial investigation by the above date, since the applicant and his counsel need additional time to comply with the requirements of Article 217 of the CCrP.
The preventive measure applied to Mr Pyatkov had been duly justified in accordance with Article 108 of the CCrP, since he had been charged with a large number of particularly serious offences as a member of an organised criminal group and if released he might interfere with the proceedings or abscond, and therefore the court does not see any reason to alter the preventive measure.” 20.  In his appeal against that extension order the applicant submitted, among other things, that having regard to his poor health, the absence of any intention to abscond or interfere with the proceedings, and also the fact that he had a permanent place of residence, he should have been released under a written undertaking. 21.  On 29 July 2008 the Supreme Court of the Russian Federation examined the applicant’s appeal. It held, in particular, that the 142 volumes of the criminal case had been presented to the defendants, including the applicant, and their counsel, for their perusal, and that the investigation of that voluminous and complex criminal case had been carried out without any major delays. The Supreme Court dismissed the applicant’s appeal, finding as follows:
“The large volume of evidence in the criminal case and the need to comply with the requirements of Article 217 of the CCrP in respect of all defendants and their counsel confirmed that the court [Supreme Court of the Republic of Bashkortostan] had correctly concluded that it was impossible to change the preventive measure applied to Mr Pyatkov and showed that there existed grounds, provided for in Article 109 § 7 of the CCrP, for further extension of the applicant’s detention.
The materials of the case do not refer to any new circumstances which came to light after the preventive measure – namely his placement in custody – was lawfully imposed on Mr Pyatkov in accordance with Article 108 [of the CCrP] and which would make it necessary to cancel or change that measure.
The court had every reason to believe, having regard to the lengthy period of the criminal activities concerned and their character, that if released Mr Pyatkov might interfere with the proceedings or abscond from the investigation and trial.
The age [of the applicant] and [his] permanent place of residence are not sufficient grounds to cancel or change the measure of restraint.
There is nothing to indicate that Mr Pyatkov cannot be detained in a remand prison due to his state of health.
In those circumstances the court rightly found that there were grounds for extending Mr Pyatkov’s detention beyond eighteen months.” 22.  The Supreme Court further extended the applicant’s detention on 14 August until 17 November 2008 and on 12 November 2008 until 17 February 2009 referring to the same grounds as in its decision of 20 May 2008. Those detention orders were upheld by the Supreme Court of the Russian Federation on 15 October 2008 and 12 February 2009 respectively. 23.  On 12 February 2009 the Supreme Court extended the applicant’s detention until 17 May 2009, bringing its duration to twenty-nine months and twenty-four days. That decision was based on the same grounds as previous detention orders. 24.  On 22 February 2009 the applicant appealed against the detention order of 12 February 2009. He informed the appeal court that he would submit additional grounds of appeal after he received a copy of the detention order of 12 February 2009. According to the applicant, on 24 February 2009 he submitted additional grounds of appeal in which he requested the appeal court to grant him leave to participate in the appeal hearing. He provided the Court with a copy of that request. The Government claimed that the applicant had not submitted a special request to take part in the hearing. However, they did not contest the authenticity of a copy of that request provided by the applicant to the Court. 25.  In his appeal against the detention order of 12 February 2009 the applicant complained that the extension of his detention had been unlawful and was not based on sufficient grounds. He also complained that he was not provided with an opportunity to familiarise himself with the documents which had served a basis for extension of his detention. 26.  On 6 March 2009 the applicant and his counsel finished familiarising themselves with the materials of the criminal case. 27.  On 10 April 2009 the investigator in charge of the case informed the applicant that while the defendants were familiarising themselves with the criminal case, twenty volumes of the case file had been stolen. On 16 January 2009 criminal proceedings had been initiated in this respect and the lost volumes had been restored. According to the investigator, the applicant could now familiarise himself with those volumes of the case file. 28.  On 23 April 2009 the Supreme Court of the Russian Federation examined and dismissed the applicant’s appeal against the detention order of 12 February 2009. Neither the applicant nor his counsel were present at the hearing, whereas the prosecutor was present and requested that the appeal be dismissed. 29.  On 8 May 2009 the Supreme Court extended the applicant’s detention until 17 August 2009, bringing its total duration to thirty-two months and twenty-four days. That detention order referred to Article 109 of the CCrP and was worded in the same terms as the detention order of 20 May 2008. 30.  On 14 May 2009 the applicant appealed against the detention order of 8 May 2009 to the Supreme Court of the Russian Federation. He submitted, in particular, that he had finished familiarising himself with the materials of the criminal case in April 2009, including with the copies of the lost volumes. He considered that the extension of his detention was not based on sufficient grounds, since his state of health would not allow him to influence witnesses or abscond. He also requested the appeal court to examine his appeal in his presence or by video link. 31.  According to the Government, on 16 July 2009 notification of the date and the time of the hearing on the applicant’s appeal against the decision of 8 May 2009 was sent to the applicant and his counsel. The Government submitted that the applicant had received that notification on 20 July 2009. 32.  On 3 August 2009 the criminal case against the applicant and his co-defendants was referred to the Supreme Court for trial. 33.  On 5 August 2009 the Supreme Court set the preliminary hearing of the case for 13 August 2009. However, two of the applicant’s co-defendants (M. and T.), who were under a written undertaking, did not appear on that date. 34.  On 11 August 2009 the Supreme Court of the Russian Federation examined the applicant’s appeal against the detention order of 8 May 2009. It dismissed the applicant’s request for leave to appear at the hearing, finding that the criminal case against the applicant and his co-accused had not yet arrived at the court for trial and had not yet been examined, that the applicant had sent his written submissions to the court, and that the prosecutor was not taking part in the examination of his appeal. As to the merits of the applicant’s appeal, the Supreme Court held that the detention order of 8 May 2009 was lawful and duly reasoned. The applicant’s counsel was not present at the appeal hearing. 35.  At the preliminary hearing of 14 August 2009 the trial court held that the crimes of which the absconded co-defendants were accused were closely linked to crimes allegedly committed by other co-defendants, and that it would therefore be impossible to examine the charges against them separately. The court accordingly decided to put the missing co-defendants on the warrant list and suspended criminal proceedings against all defendants until the missing co-defendants were captured. Regarding the other co-defendants, including the applicant, the court held as follows:
“... [the other co-defendants] are charged with serious and particularly serious offences. The grounds on which they had been placed in detention ... still remained valid. The defendants’ and their counsel’s arguments about their permanent place of residence and job, family situation, and serious health problems, cannot be regarded as grounds for changing the measure of restraint. In such circumstances, the preventive measure applied to them in the form of detention should not be changed until the preliminary hearing of the case. However, taking into account the requirements of Article 255 § 2 [of the CCrP], they should not stay in detention more than six months after the criminal case has come to court ...
... the measure of restraint [applied to other co-defendants, including the applicant] should be detention on remand, for a period which should not go beyond 3 February 2010 ...”
At the hearing of 14 August 2009 the applicant was represented by legal counsel. 36.  On 20 August 2009 the applicant appealed against the decision of 14 August 2009 to the Supreme Court of the Russian Federation. He complained that the extension of his detention had been unlawful and excessively severe, since he had been in detention for almost three years and his health was deteriorating. 37.  On 17 November 2009 the Supreme Court of the Russian Federation upheld the detention order of 14 August 2009 having found that the applicant’s detention had been extended in compliance with Article 255 § 2 of the CCrP and that it was based on sufficient reasons. 38.  By a decision of 24 November 2009 the trial court decided to resume the proceedings, and set the preliminary hearing of the case for 14 December 2009. By the same decision the trial court held that the measure of restraint applied to the applicant and some of his co-defendants should remain unchanged. 39.  The case was adjourned on 14 December and 18 January 2010 because two co-defendants were sick. 40.  On 29 January 2010, after holding a preliminary hearing, the trial court set the examination of the case for 10 February 2010. By the same decision the trial court severed the proceedings against co-defendant T., who was still at large, into separate proceedings and extended the applicant’s and his co-defendants’ detention until 3 May 2010. The trial court held as follows:
“On 3 August 2009 the criminal case arrived to the Supreme Court of the Republic of Bashkortostan ...
... They [the co-defendants, including the applicant] are charged with serious and particularly serious offences relating to drug trafficking as members of an organised criminal group. At present the grounds on which their detention was ordered, namely the risk that they would interfere with the proceedings, abscond or continue criminal activities, remain unchanged, and they have not provided any guarantees of their appearance in court. In such circumstances, the measure of restraint applied to them should remain unchanged. Since the six-month time-limit running from the date of arrival of the case to the trial court expires on 3 February 2010, and in accordance with Article 255 § 3 of the CCrP, the defendants’ detention should be extended for three months ...”. 41.  On 28 April 2010 the trial court ordered the applicant’s release under a written undertaking. 42.  On 20 April 2011 the Supreme Court found the applicant guilty of attempted drug trafficking and acquitted him of the remaining charges. The applicant was sentenced to nine years’ imprisonment. It appears that appeal proceedings are pending. 43.  From 25 November 2006 and until his release on 28 April 2010 under a written undertaking the applicant was detained in Ufa IZ-3/1 remand prison. 44.  On his admission to the remand prison the applicant was examined by the prison doctor and given a chest fluorography examination, which revealed no signs of tuberculosis. 45.  According to the information provided by the Government and not disputed by the applicant, between June 2007 and July 2008 the applicant was given three more fluorography tests, which revealed no pathology in his lungs. 46.  On 17 February 2009 a new fluorography test detected changes indicating tuberculosis in the applicant’s lungs. On 18 February 2009 the applicant was examined by a doctor who diagnosed him with infiltrative tuberculosis of the right lung. The applicant was placed in the tuberculosis ward of the remand centre and was prescribed anti-tuberculosis treatment. 47.  A fluorography test carried out on 28 January 2010 detected improvement in the applicant’s condition.