At least 41 people have been killed and more than 80 wounded in a suicide bomb attack in the Afghan capital, Kabul.
A Shia cultural organisation was the target but the Afghan Voice news agency was also hit. So-called Islamic State said it was behind the attack.
The interior ministry told the BBC an explosion at the Shia centre was followed by at least two more blasts.
IS has been behind a number of attacks on Shia targets across the country in recent months.
What do we know about the attack?
The main blast went off inside the Tabayan cultural centre, but offices of Afghan Voice are also at the location of the attack.
Image copyright AFP Image caption Dust blows down a street after one of the explosions Students were among those who had gathered at the Shia centre for a discussion forum.
The interior ministry said the event was to mark the 38th anniversary of the Soviet invasion of Afghanistan.
The initial explosion was followed by at least two others, although the ministry said these did not cause any fatalities.
The health ministry's latest figures say 41 people died and 84 were hurt, with women and children among the casualties.
Student Mohammad Hasan Rezayee told Tolo News: "We were inside the hall in the second row when an explosion from behind took place. After the blast there was fire and smoke inside the building and everyone was pleading for help."
Another witness, Sayed Jan, told reporters from his hospital bed: "There was a book reading event and academic discussion, and I was one of the participants. During the speech a huge bang was heard and smoke rose from inside the hall.
"My face was burning. I fell down from the chair and I saw the other colleagues around me on the ground. The smoke was everywhere."
Sayed Abbas Hussaini, a journalist at Afghan Voice, told Reuters that one reporter at the agency had been killed and two wounded.
Distraught relatives gathered at local hospitals, which are treating the dozens of wounded people.
Who carried it out?
The Islamic State group said on its propaganda outlet Amaq that it had targeted the Shia centre with a suicide bomber and other bombs.
The Taliban had earlier issued a statement saying they were not involved.
The Taliban are not known to specifically target Shias, although both militant groups have carried out frequent attacks across the country.
Shia fears
Analysis: Zia Shahreyar, BBC Persian, Kabul
In recent months IS has attacked many Shia targets in the west of Kabul, where the majority of the city's Shia population live.
The Tabayan centre also has offices in the Iranian cities of Tehran and Mashhad and is believed to have close ties with religious and cultural centres in Iran.
There are growing fears that IS is trying to spark a Sunni-Shia sectarian war in Afghanistan and the Shia community is increasingly dissatisfied with President Ashraf Ghani's government for failing to protect them.
US-led foreign forces meanwhile continue to engage IS in eastern Afghanistan and President Trump, in his new Afghan strategy, has pledged to root out IS in the country, as it has been in Iraq and Syria.
How is IS involved in Afghanistan?
IS announced the establishment of its "Khorasan" branch - an old name for Afghanistan and surrounding areas - in January 2015.
It initially gained ground in the east and north, although it has lost territory there and was largely eliminated from southern and western Afghanistan by the Taliban and operations conducted by Afghan and US/Nato forces.
A Shia cultural organisation was the target but the Afghan Voice news agency was also hit. So-called Islamic State said it was behind the attack.
The interior ministry told the BBC an explosion at the Shia centre was followed by at least two more blasts.
IS has been behind a number of attacks on Shia targets across the country in recent months.
- Can Afghan military turn the tide in Taliban fight?
- World powers jostle in Afghanistan's new "Great Game"
- IS in Afghanistan: How successful has the group been?
What do we know about the attack?
The main blast went off inside the Tabayan cultural centre, but offices of Afghan Voice are also at the location of the attack.
Image copyright AFP Image caption Dust blows down a street after one of the explosions Students were among those who had gathered at the Shia centre for a discussion forum.
The interior ministry said the event was to mark the 38th anniversary of the Soviet invasion of Afghanistan.
The initial explosion was followed by at least two others, although the ministry said these did not cause any fatalities.
The health ministry's latest figures say 41 people died and 84 were hurt, with women and children among the casualties.
Student Mohammad Hasan Rezayee told Tolo News: "We were inside the hall in the second row when an explosion from behind took place. After the blast there was fire and smoke inside the building and everyone was pleading for help."
Another witness, Sayed Jan, told reporters from his hospital bed: "There was a book reading event and academic discussion, and I was one of the participants. During the speech a huge bang was heard and smoke rose from inside the hall.
"My face was burning. I fell down from the chair and I saw the other colleagues around me on the ground. The smoke was everywhere."
Sayed Abbas Hussaini, a journalist at Afghan Voice, told Reuters that one reporter at the agency had been killed and two wounded.
Distraught relatives gathered at local hospitals, which are treating the dozens of wounded people.
Who carried it out?
The Islamic State group said on its propaganda outlet Amaq that it had targeted the Shia centre with a suicide bomber and other bombs.
The Taliban had earlier issued a statement saying they were not involved.
The Taliban are not known to specifically target Shias, although both militant groups have carried out frequent attacks across the country.
Shia fears
Analysis: Zia Shahreyar, BBC Persian, Kabul
In recent months IS has attacked many Shia targets in the west of Kabul, where the majority of the city's Shia population live.
The Tabayan centre also has offices in the Iranian cities of Tehran and Mashhad and is believed to have close ties with religious and cultural centres in Iran.
There are growing fears that IS is trying to spark a Sunni-Shia sectarian war in Afghanistan and the Shia community is increasingly dissatisfied with President Ashraf Ghani's government for failing to protect them.
US-led foreign forces meanwhile continue to engage IS in eastern Afghanistan and President Trump, in his new Afghan strategy, has pledged to root out IS in the country, as it has been in Iraq and Syria.
How is IS involved in Afghanistan?
IS announced the establishment of its "Khorasan" branch - an old name for Afghanistan and surrounding areas - in January 2015.
It initially gained ground in the east and north, although it has lost territory there and was largely eliminated from southern and western Afghanistan by the Taliban and operations conducted by Afghan and US/Nato forces.
