The European Court of Human Rights ruled that Turkey had illegally detained Amnesty International head Taner Kiliç in Ankara for 14 months and also ruled that his detention, among other terrorism-related charges, was “related directly to his activities as a human rights defender” and thereby violates his freedom of expression.

The court ruled that Turkey would pay 24,500 euros ($26,300) in damages and 10,000 euros ($10,735) in legal costs.

Kilic, a human rights lawyer who is now the honorary chairman of Amnesty International in Turkey, was initially arrested on suspicion of using an encrypted phone messaging app linked to a movement believed to be behind an attempt to overthrow Turkish President Recep Tayyip Erdogan. Kilic has been accused of belonging to Fethullah Gülen due to his alleged use of a mobile app, as well as other alleged connections such as newspaper subscriptions, schools his children attend, and bank accounts linked to the Gülen movement. The court concluded that it was “mere circumstantial evidence” that did not give rise to a reasonable suspicion that a crime had been committed.