Pakistani police officers stand guard outside Multan jail after a court's decision for a professor facing blasphemy case, in Multan, Pakistan, Saturday, Dec. 21, 2019. A Pakistani court on Saturday convicted the Muslim professor of blasphemy, sentencing him to death for allegedly spreading anti-Islamic ideas. Junaid Hafeez has been held for six years awaiting trial. He's spent most of that time in solitary confinement because he would likely be killed if left with the general population, local media have reported. (AP Photo/Asim Tanveer)

Pakistani police officers stand guard outside Multan jail after a court's decision for a professor facing blasphemy case, in Multan, Pakistan, Saturday, Dec. 21, 2019. A Pakistani court on Saturday convicted the Muslim professor of blasphemy, sentencing him to death for allegedly spreading anti-Islamic ideas. Junaid Hafeez has been held for six years awaiting trial. He's spent most of that time in solitary confinement because he would likely be killed if left with the general population, local media have reported. (AP Photo/Asim Tanveer)

MULTAN, Pakistan (AP) — A Pakistani court on Saturday convicted a Muslim professor of blasphemy, sentencing him to death for allegedly spreading anti-Islamic ideas.

Junaid Hafeez has been held for six years awaiting trial. He’s spent most of that time in solitary confinement because he would likely be killed if kept with the general population, local media have reported. Due to security concerns, Saturday’s trial was held inside the jail where Hafeez is being held.

Defense attorney Shahbaz Gormani said his client was wrongly convicted and that the verdict would be appealed.

Pakistan’s controversial blasphemy law carries an automatic death penalty for anyone accused of insulting God, Islam or other religious figures.

ADVERTISEMENT

While authorities have yet to carry out a death sentence for blasphemy, even the mere accusation can cause riots. Domestic and international human rights groups say blasphemy allegations have often been used to intimidate religious minorities and to settle personal scores.

A Punjab governor was killed by his own guard in 2011 after he defended a Christian woman, Aasia Bibi, who was accused of blasphemy.

She was acquitted in January after spending eight years on death row in a case that drew international media attention. Faced with death threats from Islamic extremists upon her release, she flew to Canada to join her daughters in May.

Hafeez was arrested in 2013 for allegedly displaying blasphemous content while a visiting university lecturer in the city of Multan.

Prosecutor Athar Bukhari said Hafeez had spent three years in the United States under a special program for Pakistani educators.

The prosecutor said investigators retrieved anti-religions material from Hafeez’s laptop after his attest.

Hafeez was also fined half a million Pakistani rupees (over $3,200) on Saturday.