(AFP) — At least 40 people were killed and dozens more wounded in multiple blasts at a Shiite cultural center in Kabul on Thursday, officials said, in the latest deadly violence to hit the Afghan capital.

There was no immediate claim of responsibility but the Taliban was quick to deny involvement in the assault near the Afghan Voice Agency, a media outlet which earlier reports had suggested could have been the target.

Deputy interior ministry spokesman Nasrat Rahimi told AFP the blasts were in fact aimed at the Shiite Tabayan cultural center.

“A ceremony was being held to mark the 38th anniversary of the Soviet invasion in Afghanistan when the explosion went off,” he said.

“We have 40 killed, 30 wounded, but this is not the final toll. It might go up.”

Rahimi said the main blast was followed by two smaller bomb explosions that did not cause casualties.

Kabul has become one of the deadliest places in war-torn Afghanistan for civilians in recent months, as the Taliban step up their attacks and the Islamic State group (IS) seeks to expand its presence in the country.

Thursday’s assault comes days after a suicide bomber killed six civilians in an attack near an Afghan intelligence agency compound in the city, which was claimed by IS.

The jihadist group has gained ground in Afghanistan since it first appeared in the region in 2015 and has scaled up its attacks in Kabul, including on security installations and the country’s Shiite minority.

A hospital official told local TV that 18 wounded had been brought to his facility.

“Five of the wounded are in critical condition and our doctors are working to save their lives,” Sabir Nasib, head of Istiqlal hospital, said.

A man attending the anniversary ceremony said he heard a “big boom.”

“We do not know the numbers (of casualties). When the explosion happened we immediately fled,” he told Tolo News.

Mohammad Hasan Rezayee, a university student also at the ceremony, told Tolo News he had suffered burns to his face in the blast.

“After the blast there was fire and smoke inside the building and everyone was pleading for help,” he said.

Photos posted on Afghan Voice Agency’s Facebook page showed the inside of a compound with debris and bodies lying on the ground.

Security in the city has been ramped up since May 31 when a massive truck bomb ripped through the diplomatic quarter, killing some 150 people and wounding around 400 others — mostly civilians.

Afghan media has previously been targeted by militants, underlying the risks faced by journalists in the war-torn country.

In November an attack on Afghan broadcaster Shamshad TV in Kabul, claimed by the Islamic State group, left at least one person dead and two dozen others wounded.