A man who was injured in a deadly suicide bombing on Wednesday that targeted a training class in a private building in the Shiite neighborhood of Dasht-i Barcha is placed in an ambulance in western Kabul, Afghanistan. Credit: Rahmat Gul | AP

KABUL, Afghanistan — The Islamic State announced Thursday that one of its militants was behind a suicide bombing that killed and injured scores of students in a Shiite educational center in Kabul.

The radical Islamist group made the claim on its Amaq news agency, saying the attacker used a suicide vest in the strike Wednesday, which targeted a classroom packed with teenagers in a Shiite Muslim district of the Afghan capital.

The Afghan government on Thursday revised the death toll from the attack to 34, down from its initial figure of 48. It said 57 people were wounded in the bombing, part of spate of attacks against a branch of Islam that the Islamic State considers heretical. Confusion about the death toll arose Wednesday as Kabul hospitals and government officials struggled to cope with the carnage.

The Islamic State claimed that more than 200 people were killed in Wednesday’s attack, which was disavowed by Afghanistan’s main insurgent group, the Taliban.

As family members and relatives were burying the victims in a mass grave on a hill overlooking Kabul, a group of armed men launched an attack on a training facility used by the country’s intelligence agency in a different part of the city.

According to Kabul police, the assailants used a nearby house under construction to stage the attack, which sparked exchanges of gunfire lasting several hours, followed by explosions.

There were no immediate reports of casualties on the government side from the latest strike. It followed a series of major Taliban raids in various parts of the country that have claimed the lives of at least 200 security forces in less than a week.

The spiraling violence has further damaged the credibility of the U.S.-backed Afghan government and raised questions about the Trump administration’s war strategy in the country.

Follow the Bangor Daily News on Facebook for the latest Maine news.