A suicide bomber struck one of the biggest mosques in western Afghanistan on Friday, killing at least 18 people, including an influential imam who earlier this year called for those who commit “the smallest act” against the government to be beheaded. Images posted on Twitter showed what appeared to be blood-stained bodies scattered around the compound of Gazargah Mosque in Herat. Violence has largely declined since the Taliban returned to power last year, but several bomb blasts — some targeting minority communities — have rocked the country in recent months, many claimed by the Islamic State (IS) group. At least 18 people, including prominent pro-Taliban cleric Mujib ur Rahman Ansari, were killed and 23 wounded in Friday’s suicide attack, said Hameedullah Motawakel, spokesman for the governor of Herat province. “The bomber came near Ansari and then set off his explosives-laden vest,” Motawakel told AFP. Deputy Prime Minister Abdul Ghani Baradar, who had met Ansari just hours earlier in the day at a separate gathering in Herat, condemned the cleric’s killing. “A strong and brave religious scholar of the country was martyred while performing Friday prayers,” Baradar said on Twitter. “The perpetrators of this heinous act will be punished.” No group has so far claimed the attack. Ansari, who was in his late 30s, was an influential cleric known for his fiery speeches. In July, during a religious gathering in Kabul, he strongly defended Afghanistan’s new Taliban rulers. “Whoever commits the smallest act against our Islamic government should be beheaded,” he said. “This (Taliban) flag has not been raised easily, and it will not be lowered easily.” Even before the Taliban returned to power in August 2021, the ultra-conservative cleric had been calling for women to be fully covered in public, and for bans on musical concerts in Herat. In his speeches, he used to regularly launch tirades against the previous US-backed governments. Ansari is the second pro-Taliban cleric to be killed in a blast in less than a month, after an August 11 suicide attack targeted Rahimullah Haqqani at his madrassa in Kabul. Haqqani was known for angry speeches against IS, who later claimed responsibility for his death. He had also spoken in favour of girls being allowed to attend secondary school, despite the government banning them from attending classes in most provinces. Several mosques across the country have been targeted this year, some in attacks claimed by IS. At least 21 people were killed and dozens more wounded on August 17 when a blast ripped through a mosque packed with worshippers in Kabul. IS has primarily targeted minority communities such as Shiites, Sufis and Sikhs. While IS is a Sunni group like the Taliban, the two are bitter rivals and greatly diverge on ideological grounds. Government officials claim that IS has been defeated but experts say the group is the main security challenge for the country’s current rulers.