Kabul: Gunmen killed at least 27 people and wounded 29 more in Afghanistan's capital on Friday at a remembrance ceremony for a minority Shiite leader, officials said.
Heath Ministry spokesman Wahidullah Mayar said the victims were taken to local hospitals.
Several prominent political leaders escaped the ceremony unhurt, including Abdullah Abdullah, the country's chief executive and a top contender in last year's presidential election.
Afghan security forces were still trying to flush the gunmen out of a half-finished apartment building, Interior Ministry spokesman Nasrat Rahimi said.
The Taliban denied involvement in the attack. It came just days after the United States and the Taliban signed an ambitious peace deal that lays out a conditions-based path to the withdrawal of American forces from Afghanistan.
The Islamic State group has attacked Afghan Shiites in the past, and views the religious minority as heretics. Any US troop pullout would be tied in part to promises by the Taliban to fight terrorism and IS.
Friday's ceremony was held in the mostly Shiite Dasht-e-Barchi neighbourhood of the capital, Kabul.
The memorial marked 25 years since the death of Abdul Ali Mazari, the leader of Afghanistan's minority ethnic Hazaras, who are mostly Shiite Muslims. He was killed in 1995 by the Taliban as they moved to take control of Kabul, which had been destroyed by a brutal civil war among mujahedeen groups, including Mazari's.