5.  The applicant was born in 1985 and lives in Warsaw. 6.  On 14 May 2010 the applicant was arrested in Kyiv by officers of the Security Service of Ukraine (“the SBU”) on suspicion of unlawfully importing equipment for the covert surveillance of telephone networks and using it to intercept private telephone conversations (see paragraph 24 below), an offence committed in collaboration with M., a Russian national. 7.  An SBU investigator lodged a request with the Shevchenkivskyy District Court of Kyiv (“the District Court”) seeking that the applicant be remanded in custody pending the investigation. He submitted that the applicant’s detention was necessary in order to prevent him from absconding and interfering with the investigation, given that the applicant was a foreign national, did not have a permanent place of residence in Ukraine and was suspected of a serious offence. 8.  On 17 May 2010 the District Court held a hearing in the presence of the prosecutor and his lawyer, remanded the applicant in custody, and ordered that he be placed in an SBU detention facility. It held that the arguments submitted by the investigator were sufficiently strong to allow the conclusion that the applicant should be detained. 9.  On 27 May 2010 the Court of Appeal held a hearing to examine the applicant lawyer’s appeal against the order of 17 May 2010 in the presence of a prosecutor and the applicant’s lawyer and upheld the order. 10.  On 13 July 2010 the District Court held a hearing in the presence of the prosecutor, the applicant and his lawyer and extended the applicant’s detention until 14 September 2010. It noted that there were no reasons to release the applicant and that the investigative authority needed time to complete the investigation. 11.  On 26 July and 6 August 2010 the Court of Appeal held hearings to examine, respectively, the applicant lawyer’s and the applicant’s own appeals against the District Court’s decision of 13 July 2010. Only a prosecutor was present at the former hearing, whereas the latter hearing was attended by the prosecutor, the applicant and his lawyer. The Court of Appeal rejected both appeals and upheld the District Court’s decision on both occasions. 12.  On 9 September 2010 the Court of Appeal held a hearing in the presence of the prosecutor and the applicant’s lawyer, granted the investigative authority’s request, and extended the applicant’s detention until 14 November 2010. The court noted that the charges against the applicant were serious, that there were no reasons to release him and that the investigative authority needed more time to complete the investigation. 13.  On 1 November 2010 the investigator charged the applicant with several additional offences in connection with the same events: breaching the privacy of telephone communications and unlawful transfer of equipment subject to export control, committed in a group (see paragraph 24 below). 14.  On 12 November 2010 the Court of Appeal extended the applicant’s detention until 14 December 2010. 15.  On 14 December 2010 the applicant’s case was sent to the District Court for trial. 16.  On 27 April 2011 the District Court committed the applicant for trial, rejected the applicant’s request for release and ordered his continuing detention pending trial. The court stated that the applicant was charged with a serious offence, was a foreign national and had no permanent place of residence in Ukraine. No time-limit was set for his detention. 17.  On 25 August 2011 the District Court rejected the applicant’s requests for release. It gave reasons similar to those given in its decision of 27 April 2011 and added that there was no reason to set an end-date for the applicant’s detention since his detention was needed to complete the trial. 18.  On 14 October, 24 November 2011, and 11 January 2012 the District Court rejected the applicant’s further requests for release. It gave reasons similar to those given in its decision of 27 April 2011. 19.  On 19 March 2012 the District Court convicted the applicant as charged, sentencing him to four years’ imprisonment. 20.  On 7 December 2012 the Court of Appeal quashed the conviction and remitted the case for additional investigation. It ordered the applicant’s continuing detention without giving reasons. 21.  On 15 January 2013 the District Court set bail for the applicant. 22.  On 16 January 2013 the applicant was released on bail. 23.  On 17 May 2013 the District Court approved the applicant’s plea bargain, convicted him, and sentenced him to two years and eight months’ imprisonment, which was to be considered fully served in view of the time the applicant had spent in pre-trial detention.