5.  The applicant was born in 1986 and lives in Sofia, Bulgaria, where he apparently moved from France in November 2013. 6.  At 12.40 a.m. on 24 January 2014 he was arrested in Sofia while breaking into cars with a view to stealing items from them. He was taken to the First District Police Station and placed under police detention. According to the applicant, he was not put in a cell, but handcuffed to a bench in the station’s corridor. 7.  According to the applicant, throughout the whole time that he spent in the police station he was not given any food or drink, allowed to go to the toilet, or allowed to use a telephone. He was visited by an ex officio lawyer appointed for him by the authorities. However, the lawyer spoke no French and very little English – a language that the applicant is apparently familiar with – and did not explain to him anything about the procedure in his case. 8.  In the late afternoon or the evening of 24 January 2014 the applicant was taken to a hospital for a medical examination, and then, at about 10 p.m. the same day, taken to a pre-trial detention facility in Sofia. 9.  It appears that the next day, or one of the following days, the applicant was brought before the Sofia District Court with a view to a decision on whether he should be remanded in detention, and that it was decided that he should remain in custody pending trial. A subsequent request for release apparently made by his counsel in the end of February 2014 was rejected as well. 10.  According to the applicant, upon his arrival in the pre-trial detention facility on the evening of 24 January 2014 (see paragraph 8 above), he was given a dirty mattress, pillow and blanket, but no bedlinen. Since he had arrived in the facility after suppertime, he could not eat or drink anything until lunchtime the following day, 25 January 2014. 11.  According to the applicant, the cell in which he had been placed had been dirty, cold, poorly ventilated, infested with cockroaches, overcrowded, and with a toilet which was not properly separated from the rest of the cell. 12.  According to the applicant, he was not able to maintain his personal hygiene, as he was not provided with toilet paper or other toiletries, and had had no money to purchase them. As a result, it had been impossible for him to go to the shower for two weeks. On the third day of his stay in the facility, he had seen spots erupt on his skin and had asked to be examined by a medical doctor. The doctor had come to see him three days later, and had only examined him from a distance, without entering the cell. On an unspecified date in March 2014, the applicant was given a blood test which revealed that he had a staphylococcus infection. He was given antibiotics for it but was not taken to a hospital. 13.  According to the applicant, food had also been so poor and served so unhygienically that he had lost twenty-three kilogrammes during his stay in the detention facility. The space for out-of-cell exercise had also been so small that on many occasions he had chosen not to take his daily exercise. 14.  In the detention facility, there was a cardphone which inmates could use to call outside numbers. It was located in the space where they could take their daily one-hour out-of-cell exercise. Since it had to be shared among them, each inmate had about six minutes to use it. As the applicant had had no money on him when arrested, he could not however purchase a phonecard. With the help of a co-detainee who spoke some English, about two weeks after his arrival in the facility he managed to obtain one minute of call time free of charge, and on 5 February 2014 contacted the consulate of France in Sofia. The consulate immediately informed the applicant’s Bulgarian girlfriend, a Bulgarian friend of his and his parents, who resided in France, that he had been arrested and detained, and the consul came to visit him. The same day the applicant’s mother, who lived in France, wired money to the consul so that she could purchase food and clothes for the applicant. The consulate also arranged for a lawyer to represent the applicant in the criminal case against him. 15.  With the money that he received via the consulate, the applicant was able to purchase a phonecard. According to him, he had made many requests to that effect in the days after 5 February 2017, which the Government had not provided. The Government insisted that they had made available to the Court all documents in the applicant’s detention file. They submitted a declaration by him dated 24 February 2014 whereby he had asked the detention facility’s head to issue him a phonecard preloaded with 20 Bulgarian levs of credit and, as required under the relevant regulations (see paragraph 30 below), had submitted for approval a list of the persons – his Bulgarian girlfriend, a Bulgarian friend, his lawyer, and his mother and father in France – whom he wished to call. The same day the facility’s head approved the list. The applicant was apparently able to call his mother in France for the first time two days later, on 26 February 2014. 16.  According to the applicant, the relevant order (see paragraph 31 below) had provided that detainees could purchase phonecards or recharge them twice a month. The Government did not comment on that point or submit a copy of the order. According to the official form used by the applicant to make his above-mentioned declaration, phonecards could be recharged once a month. The applicant alleged that the facility’s staff had often not complied with the recharging schedule and that on one occasion he had been unable to recharge his phonecard for five weeks. He did not provide further details in that respect, but from the documents submitted by him it appears that between 24 March and 14 April 2014, a period of three weeks, he had not spoken on the telephone to his mother in France. 17.  Detainees in the facility could get two visits a month, each lasting up to twenty minutes. According to the Government, the applicant had received such visits on 5, 8 and 9 February and 23 March 2014. However, on one occasion on 22 March 2014 the applicant’s Bulgarian girlfriend, who had come to visit him, was turned away with the explanation that the same day he had been moved to a different wing, detainees in which could be visited on another date according to the schedule of visits. She was apparently able to visit him the next day. It appears that a Bulgarian friend of the applicant who had also come to visit him on 22 March 2014 was likewise turned away. 18.  According to the Government, during his stay in the detention facility the applicant had been visited by his lawyer on twelve occasions in February and March 2014, and by consular staff on two occasions. He had also received parcels with food and other items on twenty-one occasions. 19.  Throughout his stay in the detention facility, the applicant was able to correspond with his parents in France with letters passed via his lawyer or the staff of the consulate of France in Sofia. 20.  On 17 April 2014 the applicant and the prosecution entered into an agreement whereby he pleaded guilty and accepted to serve a sentence of three months’ imprisonment. The same day the Sofia District Court approved the agreement, and the next day, 18 April 2014, the applicant was moved to Sofia Prison. Since his pre-trial detention was taken into account in calculating the amount of time that he had to serve under his sentence of imprisonment, he spent there only six days, until 24 April 2014, when he was released. According to the applicant, conditions in Sofia Prison were nearly identical to, or even worse than, those in the detention facility. 21.  The applicant’s parents came from France to Bulgaria to see him on 25 April 2014, the day after his release. It appears that they could not do so earlier because it was not possible for his mother to take leave from work.