Kenan Özdemir, a former judge and deputy undersecretary of ministry of justice, has been given 12 years prison sentence over “membership in a terrorist organization.”

Özdemir, who was dismissed from profession by the Turkish government in the aftermath of a coup attempt on July 15, 2016, was arrested by an Ankara court in August 2016 on charges of using ByLock, a smart phone application that authorities claim is a communication tool between members of the Gülen group.

The group is accused by the Turkish government of masterminding a coup attempt on July 15, 2016.

In addition to Özdemir, tens of thousands of civil servants have either been dismissed or arrested for using the application.