(CNN) A Turkish court sentenced six journalists and other media professionals to life in prison Friday, Turkey’s Anadolu state news agency reported, roughly an hour after another court freed a German-Turkish reporter who had been behind bars for the past year.
The six were all sentenced for being associated with the movement of US-based Turkish cleric Fethullah Gullen, which Turkey says was behind a failed coup attempt in July 2016.
Journalists Ahmet Altan, Mehmet Altan and Nazli Ilicak received life sentences on the charge of being informed about the coup attempt before it happened. Their sentence officially means they must serve 40 years.
They were also sentenced for attempting to disrupt constitutional order, as were Fevzi Yazıcı, Yakup Şimşek and Şükrü Tuğrul Özşengül, who worked at Gulen-linked newspapers and a television station.
“This is a dark day for press freedom and for justice in Turkey and sets a chilling precedent for scores of other journalists facing trials on similar trumped-up terrorism charges,” said Gauri van Gulik, Europe director for Amnesty International, in response to the sentencing.
German journalist released
Earlier Friday, a separate court in Istanbul freed Deniz Yucel, a correspondent for Germany’s Die Welt newspaper, according to the German government.
The German-Turkish journalist was accused of spreading propaganda for the Kurdistan Workers Party, or PKK, a Kurdish separatist group that the Turkish government has branded a terrorist organization. He was also accused of inciting violence in support of Gulen’s movement.
Yucel was detained on February 14 last year and has always denied the accusations. His case had become a cause of serious friction between Berlin and Ankara.
A few hours after the order was given to release Yucel, his lawyer Veysel Ok tweeted a picture of Yucel and his wife, Dilek Mayaturk, outside the Istanbul prison.
It remains unclear whether Yucel will be free to travel to Germany. Yucel’s charges have not been dropped and his trial will go ahead as planned. The Istanbul state prosecutor is calling for Yucel to be jailed for up to 18 years, Anadolu reported.
German Chancellor Angela Merkel said she was pleased that Yucel had been released from jail and thanked those who had worked to secure his release.
“I am pleased for him, I am pleased for his wife and his family who had to endure a tough year of separation,” she said. “I want to thank the civil society in Germany who did not forget Deniz Yucel and others who are in prison.”
The order to release Yucel comes a day after Merkel met with Turkish Prime Minister Binali Yildirim in Berlin.
“It seems that some problems that occurred in the past in Turkish-German relations are solved today,” said Yildirim on Friday. “We will take reciprocal steps to develop relations. We expect them not to tolerate terror organizations and not to allow activities that target our unity.”
Yucel was one of a number of German nationals imprisoned in Turkey last year as a diplomatic row between the two countries intensified.
Relations have since improved and two high-profile prisoners — human rights activist Peter Steudtner and journalist Mesale Tolu — were released late last year, although judicial proceedings against them are still continuing.
Five German nationals remain in custody in Turkey, “whom we must assume are held for political allegations,” according to the German foreign office.
Following Yucel’s arrest last February, protesters gathered outside the Turkish Embassy in Berlin to call for his release.
Friday’s announcement coincides with a two-day visit to Turkey by US Secretary of State Rex Tillerson, who was due to hold meetings with Turkish President Recep Tayyip Erdogan and Foreign Minister Mevlut Cavusoglu.
Yucel’s wife, Dilek Mayaturk, moved from Munich to Istanbul last year to be closer to her husband and tweeted regularly about his imprisonment.
As Friday’s news broke, she tweeted in Turkish: “At last!!! At last!!! At last!! Deniz is free!”
Ulf Poschardt, editor-in-chief of Die Welt, spoke of the delight among Yucel’s colleagues in a televised interview. “This is the most wonderful day in my career as a journalist. There are tears and cries of joy in our newsroom,” he said.
Dozens of journalists have been imprisoned without trial in Turkey since the failed coup, according to Reporters Without Borders. The country is ranked 155 out of 180 countries in the 2017 World Press Freedom Index.
CNN’s Atika Schubert and Isil Sariyuce also contributed to this article.