Turkish director Ali Avcı, who was put in pre-trial detention immediately after the release of his latest movie’s trailer, has been given 6 years and 3 months in jail.

Avcı was detained by police at his house hours after the release of the trailer for Uyanış [Awakening], on on July 13, 2017. The movie is based on the July 15, 2016 failed coup and portrays President Tayyip Erdogan having a gun pointed at his head as his family lay dead all around him.

An Istanbul court convicted the director of being a member of the Gulen movement and sentenced him to jail.

Turkish government accuses the movement of masterminding the July 15, 2016 failed coup while the group denies involvement.