Gunmen opened fire on Shiite worshipers at a shrine in the Afghan capital on Tuesday, killing at least 17 people and wounding more than 40 others during events marking one of the holiest days for Shiite Muslims, authorities reported.

Afghanistan's Interior Ministry, which issued the death toll, gave few immediate details about how the attack unfolded. But the ministry's spokesman, Sediq Siddiqui, said "the last attacker has been gunned down" by about 9.30pm and described the situation as "under control."

Earlier, police officials said that one attacker had taken an unknown number of hostages but that security forces had evacuated most people from the Sakhi shrine. The domed hillside sanctuary is one of the most popular places for Shiites to gather on holidays, and the surrounding area was filled with people.

At least 62 people were wounded, including 12 policemen, said the ministry.


Police said that at least three attackers were involved, wearing police or military uniforms, and that they may have set off explosions before the gunfire. No group immediately claimed responsibility for the attack.

A video posted on social media showed the shrine's massive tiled dome illuminated by bursts of gunfire, with sounds of screams and wailing in the background.

Officials had warned that violence could erupt on Wednesday, the climactic final day of the month of Muharram, when Shiite men ritually flagellate themselves in the streets as a sign of mourning. The Ministry of Hajj and Religious Affairs had asked people not to congregate in large numbers or cover their car windows with paint, a common practice during Muharram that could potentially hide attackers.

An afghan man walks in front of Kart-e- Sakhi shrine after the attack on one of the holiest days for Shiite Muslims. Photo / AP
An afghan man walks in front of Kart-e- Sakhi shrine after the attack on one of the holiest days for Shiite Muslims. Photo / AP

Five years ago, suicide bombers attacked another Shiite shrine in Kabul on the same day, known as Ashura, killing more than 50 people, and bombs were also detonated at mosques in two other Afghan cities. That series of attacks was claimed by a violent Sunni sectarian group based in Pakistan that is officially banned.

Officials were also worried about the potential for violence because of a recent bombing in the west Kabul community of ethnic Hazara Shiites. On July 23, bombers attacked a peaceful protest there, killing more than 80 people. The attack was claimed by a regional affiliate of the Islamic State.

Ashura is an emotionally charged day of mourning on which all Muslims, but especially Shiites, commemorate the death of Imam Hussein, a grandson of the prophet Muhammad, who was killed in a battle in A.D. 680 in what is now Iraq. It has also become an increasingly bold statement of religious identity by Hazara Shiites.

All week, excitement and tension have built in the community, with loudspeakers blaring rhythmic dirges, and thousands of brightly colored flags rippling in the streets and affixed to caravans of honking cars. Food and drink have been given away at dozens of stands draped in black, and giant black paper portals have been erected along many streets.

Security volunteers from local mosques have kept a watchful eye on crowds roaming the streets and have sometimes searched bundles and purses. On Monday, one volunteer urged a reporter not to stop and interview people because it could create a target for attack.

In Afghanistan's Muslim society, the Shiite minority makes up about 30 percent of the populace, and relations with the Sunni majority have historically been amicable. But Shiites were suppressed during Taliban rule in the late 1990s, and the rise of radical sectarian groups such as the Islamic State has also created tensions.

Shiite Hazaras, historically ostracised, have bounded back under democratic rule since 2001, flexing increasing political and religious muscle. In the past year, a Hazara group called Enlightenment has demanded more services and justice for the community and held numerous rallies. It was one of its rallies in July that was bombed by the Islamic State.