A Turkish court on Wednesday ruled for the release of Serkan Gölge, a 37-year-old physicist and research scientist who was given 7 years and 6 months in prison his alleged links to the Gülen movement.

Gölge was detained on July 23, 2016 in the aftermath of a failed coup attempt in Turkey and was subsequently jailed.

Under arrest for almost three years, Golge was, on Feb 8 of last year, convicted of membership to the Gulen movement, a terror organization in the eyes of Turkish government.

Turkish government blames the movement of masterminding the July 15, 2016 failed couple while the latter denies involvement.

Golge’s lawyers earlier told media that Turkish police had asked the scientist, during the detention, to serve as a Turkish agent in the US.

“They asked my client during all six interrogations to tell them what he knew, and my client said he didn’t know anything. Then they told him ‘Work for us’,” said the lawyer.