Turkish authorities have freed a well-known stand-up performer following his conviction for defaming the nation's leader. The comedian, Deniz Göktaş, received a prison sentence of nearly 19 months during a hearing in Istanbul on Monday. Because he had already spent roughly three months behind bars awaiting trial, the court ordered his immediate release.

The legal action stems from a popular comedy routine broadcast on the internet that accumulated more than 15 million views. State prosecutors took issue with a specific remark in the performance where the comic referred to President Recep Tayyip Erdoğan as a shy dictator. Authorities originally sought a prison term of up to 12 years for the entertainer.

Throughout the proceedings, the defendant maintained his innocence and rejected the accusations against him. He argued before the court that using the term dictator amounted to a political description rather than a punishable offense.

Law enforcement detained the performer in July as he arrived at an Istanbul airport following a vacation. He subsequently spent nearly 90 days in solitary confinement prior to his day in court. Despite his time in detention, the comic maintained his wit during the hearing. He remarked to the judge that while three months had been stolen from his existence, he used the period to quit smoking, effectively balancing out the lost time.

Supporters and fellow artists gathered outside the courthouse holding banners declaring solidarity with the defendant. Following the verdict, fellow comedian Firat Aksal expressed relief, noting that many observers had doubted the judicial process would yield a fair outcome.

Authorities have placed the freed comedian under a travel restriction that forbids him from leaving the country while the appellate court reviews the case. After walking free from a prison facility late Monday evening, the performer embraced his parents and expressed joy at returning to his loved ones. He also used the moment to draw attention to numerous other individuals currently held in Turkish correctional facilities for expressing their opinions.

Human rights advocates have criticized a broader pattern of arrests targeting critics of the government in recent years. The current prison population includes various journalists, student demonstrators, human rights defenders, and political figures such as the elected mayor of Istanbul. Government officials have consistently denied that these detentions are politically motivated, maintaining that the nation's judicial system operates independently.

Following his release, the comic plans to spend a few days resting with his family before resuming his career on stage. Well-wishers gathered outside the prison gates to greet him as he regained his freedom.

Reporting based on coverage first published by BBC News. Read the original report at BBC News.