A former top judge who was jailed as part of President Recep Tayyip Erdogan’s post-coup crackdown has been sentenced to 10 years in prison, on Monday.

Former Council of State member Haşim Güney was convicted of membership to the Gulen movement, a broadened terror charge the Turkish government often uses to imprison its critics.

Guney was first given 8 years in jail and the court in charge increased its sentence to over 12 years using discretionary power in compliance with the anti-terror law and reduced it to 10 years due to Guney’s good conduct during hearings.

The Turkish government accuses the Gulen movement of being behind the July 15, 2016 failed coup. The latter denies involvement.

More than 510,000 people have passed through police custody and some 100,000 have been remanded in pre-trial detention.