5.  The applicant was born in 1995. According to the last information received by the Court on 6 October 2016, the applicant is detained in Lisbon.
6.  On 5 December 2013 criminal proceedings were initiated against the applicant by the public prosecutor of the Department of Investigation and Prosecution (Departamento de Investigação e Ação Penal) in Sintra in respect of allegations of him having committed the crimes of coercion (coação), aggravated attacks upon the physical integrity of a person (ofensas à integridade física qualificada), rape (violação), and failing to assist a person in danger (omissão de auxílio).
7.  On 2 June 2014 the public prosecutor issued a European arrest warrant (“EAW”) in respect of the applicant in order to secure his presence before a judicial authority to be questioned (primeiro interrogatório judicial).
8.  On 28 August 2014 the applicant was arrested in the United Kingdom. Under the EAW issued by the Portuguese authorities, he was surrendered to the Portuguese authorities on 27 February 2015.
9.  On 27 February 2015, the applicant was given the status of defendant in the criminal proceedings against him (constituição de arguido) and questioned by the investigating judge (primeiro interrogatório judicial). On the same day, the investigating judge remanded the applicant in custody.
10.  On 19 March 2015 the applicant lodged an appeal with the Lisbon Court of Appeal, challenging the lawfulness of the decision remanding him in custody, pursuant to Article 219 § 1 of the Code of Criminal Procedure.
11.  On 2 April 2015 the investigating judge declared the appeal admissible and requested that the public prosecutor be asked to submit observations on the applicant’s appeal.
12.  On 27 April 2015 the public prosecutor submitted observations on the applicant’s appeal.
13.  On 29 April 2015 the investigating judge ordered that the applicant be notified of the public prosecutor’s observations and that the file be sent to the Lisbon Court of Appeal.
14.  On 4 May 2015 the file was sent to the Lisbon Court of Appeal. On 11 May 2015 it was received and distributed.
15.  On 13 May 2015 the public prosecutor issued an opinion on the appeal, pursuant to Article 416 of the Code of Criminal Procedure. The applicant was subsequently notified of the opinion and given ten days to reply, pursuant to Article 417 of the Code of Criminal Procedure.
16.  On an unknown date, a judge rapporteur appointed to the case made a preliminary examination of the applicant’s appeal and prepared a draft decision which was presented to two other judges. The judge rapporteur’s analysis of the appeal was afterwards put on the agenda for discussion by the judge rapporteur and the two other judges.
17.  On 24 June 2015 the applicant lodged a habeas corpus application with the Supreme Court, claiming that the lack of analysis of his appeal in respect of the lawfulness of the decision placing him in pre-trial detention had violated Article 5 § 4 of the Convention. He further argued that the time-limit of thirty days established under Article 219 § 1 of the Code of Criminal Procedure had not been complied with. Therefore, his pre-trial detention had been unlawful.
18.  On 2 July 2015 the Supreme Court dismissed the applicant’s habeas corpus application. Examining the effects of the thirty-day time-limit on pre-trial detention orders, it considered that the thirty-day time-limit on pre-trial detention orders simply constituted a guiding principle illustrating the urgency of such matters. It further noted that the lack of a speedy review of an order remanding a person in custody did not constitute a ground for a habeas corpus application under Article 222 of the Code and pointed out that Article 219 § 1 did not, in any case, stipulate the maximum length of any pre-trial detention. In this regard, the non-compliance with the thirty-day time-limit did not mean that the applicant’s pre-trial detention had been unlawful.
19.  On 2 July 2015 the Lisbon Court of Appeal dismissed the applicant’s appeal and upheld the investigating judge’s decision of 27 February 2015 to hold him in pre-trial detention.