Senturk Uzun, Turkey’s former ambassador to Ghana, was put in pre-trial detention, state-run Anadolu Agency reported on Saturday.

Detained in Istanbul’s Kadikoy as part of an investigation into the Gulen movement on July 26, Uzun was arrested on accusation of membership to a terrorist organization.

Anadolu said Uzun has been undergoing the investigation due to his alleged use of ByLock.

Bylock is a controversial mobile app that Turkish authorities claim to be the top communication tool among the followers of the Gulen movement, stand accused of leading the July 15, 2016 coup attempt.

The movement denies involvement in the failed coup.

A former deputy governor in Ankara, Uzun served as Turkey’s ambassador to Ghana from Sept 2013 to Aug 2014.