The European Court of Human Rights (ECHR) ruled against Turkey over the detention of human rights lawyer and elected lawmaker Can Atalay, ordering the country to release him and allow him to take his seat in parliament.

In a decision published on Tuesday, the court said Atalay’s continued detention was intended to silence him and undermine political pluralism. It ordered Turkey to pay him €32,500 (about $35,700) in compensation.

The judges said Atalay’s case should be viewed in the wider context of the detention of political opponents, human rights activists and journalists in Turkey, rather than in isolation.

Turkey was among the original signatories of the European Convention on Human Rights. It has previously refused to comply with court decisions in the cases of rights activist Osman Kavala and prominent Kurdish politician Selahattin Demirtas.

Atalay represented victims in numerous social and political cases in Turkey, as well as journalists and writers in freedom of speech cases. He was also among the leading voices in the 2013 Gezi protests, which the government called an attempted coup.

For his involvement in the protests, Atalay and seven others were sentenced in April 2022 to 18 years in prison for "aiding and abetting an attempted coup."

Atalay ran for the Workers' Party of Turkey (TIP) in the 2023 parliamentary elections while imprisoned at Silivri. He won a seat representing the earthquake-hit province of Hatay but was denied release despite multiple rulings by the Constitutional Court, Turkey's top court.

His parliamentary status was revoked in 2024, but the Constitutional Court later overturned that decision. President Recep Tayyip Erdogan's party stopped the opposition from formally reading the decision in parliament. An opposition lawmaker read it a year later, but Atalay remains in jail.

After the ECHR ruling was published, TIP leader Erkan Bas called on social media for Atalay's release and the restoration of his parliamentary mandate.