A court convicted the president of the Turkish Medical Association on Wednesday of disseminating "terror organization propaganda" following a trial that human rights groups had denounced as an attempt to silence government critics.

The court in Istanbul sentenced Dr. Sebnem Korur Fincanci to nearly three years in prison but also ruled to release her from pre-trial detention while she appeals the verdict.

Fincanci, 63, was arrested in October and charged with engaging in propaganda on behalf of the banned Kurdistan Workers’ Party, or PKK. The arrest followed a media interview in which she called for an independent investigation into allegations that the Turkish military used chemical weapons against Kurdish militants in northern Iraq.

Fincanci is the latest activist to be convicted under Turkey’s broad anti-terrorism laws. A forensic expert, she has spent much of her career documenting torture and ill-treatment, and has served as president of the Human Rights Foundation of Turkey.

NATO SECRETARY-GENERAL BELIEVES IT'S TIME FOR SWEDEN TO JOIN THE MILITARY ALLIANCE

During her trial, Fincanci rejected accusations that she engaged in propaganda during the interview, arguing that she gave a professional opinion.

Speaking to reporters outside prison following her release, Fincanci further justified her comments.

"Of course, as physicians we will prioritize human health," she said. "We will be against wars and we will do our best to prevent all kinds of weapons, to prevent their use, to eliminate them."

Turkish medical Association meeting

Turkish Medical Association President Dr. Sebnem Korur Fincanci talks to journalists in Istanbul, Turkey, on Jan. 11, 2023. A court convicted Fincanci of disseminating "terror organization propaganda," and she was sentenced to three years in prison. (AP Photo/Emrah Gurel)

The charges stemmed from an interview she gave to the pro-Kurdish Medya Haber TV outlet and commented on a video purporting to show the use of chemical weapons. She suggested that a toxic gas may have been released but also called for an "effective investigation."

TURKEY'S PENDING SYRIA INVASION MOTIVATED BY POLITICS, NOT SECURITY CONCERNS, EXPERTS SAY

Turkish officials strongly denied allegations that the country used chemical weapons, insisting its military doesn’t have such weapons in its inventory. The PKK has led an armed insurgency against the Turkish state since 1984. The group is considered a terrorist organization in Turkey, Europe and the United States.

Her comments caused a backlash with Turkish President Recep Tayyip Erdogan accusing her of slandering Turkey’s armed forces and of insulting her country "by speaking the language of the terrorist organization."

He vowed to introduce measures to clear the Turkish Medical Association and other professional organizations of "supporters of the terrorist organization." In October, the justice minister said they were working on new regulations.

Devlet Bahceli, the leader of a nationalist party that is allied with Erdogan’s ruling party, went further and demanded that she be stripped of her Turkish citizenship and the association shut down.

The association, which has around 110,000 members across Turkey, had drawn the ire of government officials for questioning government data and criticizing some measures imposed during the Covid-19 pandemic.

In her final trial statements, Fincanci said the association was the actual target of the investigation, according to the Dokuz8haber website, which monitored the trial. She said freedom of expression and science were being undermined.

A European Union delegation observed the trial on Wednesday, along with rights groups and supporters, in a packed courtroom.

CLICK HERE TO GET THE FOX NEWS APP

The advocacy group Physicians for Human Rights criticized the court’s verdict.

"Charging physicians who represent the health interests of all Turkish residents with ‘terrorism’ is ludicrous and shameful," Dr. Michele Heisler, the group's medical director, said in a statement. "Instead of saluting Dr. Korur Fincancı’s courageous and visionary work, the Turkish authorities have attempted to intimidate, punish, and criminalize her and other physicians’ work. The harassment must cease."

The Istanbul court sentenced her to two years, eight months and 15 days in prison. She is expected to appeal the verdict.

Other leading civil society figures and dozens of journalists are imprisoned in Turkey. Terror propaganda laws have also been used to crackdown on pro-Kurdish politicians and activists.