The former deputy chairman of Turkey’s top judiciary council was sentenced to two years and six months in prison Thursday on terrorism charges, judicial sources said.

Ahmet Hamsici, the former deputy chairman of the Supreme Council of Judges and Prosecutors (HSYK), was arrested following the defeated coup of July 15, 2016.

The 9th Criminal Chamber of the Supreme Court of Appeals in the capital Ankara imposed a 12-year prison term on Hamsici for being a member of the Fetullah Terrorist Organization (FETO).

But the court reduced his sentence after he confessed and provided useful information about the structure and

Read more: Turkey: Ex-judiciary official gets reduced prison term