Islamic State claims Kabul's latest deadly attacks
Militants from the Islamic State (IS) group have said they were behind two recent attacks in the Afghan capital Kabul in which dozens of people died.
On Wednesday, 48 people were killed in the bombing of an education centre. Most of them were students studying for university entrance exams.
On Thursday, a training centre for the intelligence services was attacked.
IS said it carried out the "commando" operation and claimed to have caused high casualties.
Afghan officials said at least two militants were killed but did not mention any other deaths or injuries.
Also on Wednesday, Taliban militants said they could no longer guarantee safe passage for Red Cross staff working in Afghanistan, amid a row over the treatment of Taliban prisoners in a jail in Kabul.
- Taliban 'met senior US envoy' in Qatar
- Afghan civilian deaths 'hit record high'
- Counting the cost of Trump's air war in Afghanistan
What is known about the two attacks?
IS claimed the attacks via its media outlet Amaq.
The militants said about 110 people were either killed or wounded in Thursday's attack that began in the morning.
Meanwhile, Kabul police spokesman Hashmat Stanekzai said the attackers had fired rocket-propelled grenades as well as automatic rifles, and that security forces had held back from assaulting the building where the gunmen had taken position, Reuters reports.
After some seven hours, officials said the two attackers were killed.
Wednesday's attack on the education centre took place at about 16:00 local time (11:30 GMT).
Afghan police said a suicide bomber walked into the education centre and detonated his explosive belt.
At least 48 people were killed and another 67 injured.
"Most of the boys at the educational centre have been killed," Sayed Ali, who witnessed the blast, was quoted as saying by Reuters.
"It was horrific and many of the students were torn to pieces."
- Video: The Afghan girls returning to school
- Tough school? War, illiteracy and hope in Afghanistan
- BBC reporter's terrifying days amid Taliban assault
Afghanistan has experienced a recent upsurge in militant violence, including a major Taliban assault on the eastern city of Ghazni.
At least 100 members of the security forces were killed in the fighting at Ghazni, officials have said.
The UN has warned that as many as 150 civilians may have also been killed.
BBC Pashto journalist Assadullah Jalalzai wrote his account of living three days there under siege before he was able to escape.
After five days of fighting, Afghan security forces have now regained control of the city, with Taliban fighters pulling out.