German-Turkish journalist Deniz Yücel who was released from prison after a year on Friday has said neither his jailing nor the release is accordance with the rule of law.

Under arrest since Feb 2017 as part of an investigation for publishing stories on the leaked emails of President Recep Tayyip Erdoğan’s son-in-law and Energy Minister Berat Albayrak, Yücel was released on Friday.

His release came only a day after Prime Minister Binali Yildirim raised the prospect of him being freed during a joint press conference with German Councellor Angela Merkel.

“Hi to all. It has been a quite interesting day. I was given a document while I was being freed prison today. It is a ruling by the 3rd Criminal Judicature of Peace, dated Feb 13. The court had ruled for the continuation of arrest. I received this ruling while I was being released today. But, I am free despite this. I don’t know why I was imprisoned a year ago and why I was released today. Isn’t it strange? Anyways, this doesn’t matter. After all, I know that neither my jailing a year ago, or more precisely my being as hostage, nor my release today has something to do with the rule of law. I know this for sure.” Yücel said in a video recording, published on social media the same day.

Turkey has jailed more than 319 journalists since a failed coup attempt on July 15, 2016 with some of them later released or cleared of charges.

President Erdogan, earlier, called 44-year-old Die Welt reporter terrorist and foreign agent.