Updated

At least 57 people were killed when a suicide bomber struck a voter registration center in Afghanistan's capital in an attack claimed by the Islamic State terror group.

Public Health Ministry spokesman Wahid Majro told the Associated Press that 119 people were wounded in the massive blast in Kabul, which shattered windows miles away from the attack site.

Majro told TOLO News the wounded have been taken to a number of Kabul hospitals, and that officials are orking to identify the victims.

d37db526-Afghanistan 5

People gather outside a voter registration center which was attacked by a suicide bomber in Kabul, Afghanistan, Sunday, April 22, 2018. (AP Photo/ Rahmat Gul)

Majro said there were five small children and 21 women among the dead. More than a dozen children and nearly 50 women were wounded, he said, adding that the tolls could still rise.

Police blocked all roads to the blast site, with only ambulances allowed in.

Local TV stations broadcast live footage of hundreds of distraught people gathered at nearby hospitals seeking word about loved ones.

Afghanistan 4

An Afghan police walks outside a voter registration center which was attacked by a suicide bomber in Kabul, Afghanistan, Sunday, April 22, 2018. (AP Photo/ Rahmat Gul)

Gen. Daud Amin, the Kabul police chief, told the AP the suicide bomber targeted civilians who had gathered to receive national identification cards. Afghanistan will hold parliamentary elections in October.

ISIS claimed responsibility in a statement carried by its Aamaq news agency, saying it had targeted Shiite "apostates."

US DROPS MORE BOMBS IN AFGHANISTAN AS WAR AGAINST ISIS WINDS DOWN

The bombing on Sunday was the fourth attack on the election process since voter registration started last Saturday, according to TOLO News.

Afghanistan 3

An Afghan police walks outside a voter registration center which was attacked by a suicide bomber in Kabul, Afghanistan, Sunday, April 22, 2018. (AP Photo/ Rahmat Gul)

Last week, three police officers responsible for guarding voter registration centers in two Afghan provinces were killed by militants, according to authorities.

Afghan security forces have struggled to prevent attacks by ISIS as well as the more firmly established Taliban since the U.S. and NATO concluded their combat mission at the end of 2014.

Afghanistan 1

An Afghan man walks outside a voter registration center, which was attacked by a suicide bomber in Kabul, Sunday, April 22, 2018. (AP Photo/ Rahmat Gul)

Both groups regularly launch attacks, with the Taliban usually targeting the government and security forces, and IS targeting the country's Shiite minority.

Both groups want to establish a harsh form of Islamic rule in Afghanistan, and are opposed to democratic elections.

The Associated Press contributed to this report.