Two babies and 11 mothers and nurses have been killed in a militant attack on a hospital in the Afghan capital.
Another 15 people, including a number of children, were injured when several gunmen attacked the Kabul hospital on Tuesday morning, officials said.
Part of the hospital is run by the international medical charity, Medicins Sans Frontieres (MSF), and some of those working there are foreigners.
Meanwhile, in the east, an attack at a police funeral has killed at least 24.
Dozens more were injured in that bomb blast and casualty numbers in both attacks could rise. It is not clear who carried out either attack.
'Total panic'
In Kabul, locals heard two blasts, then gunfire. One doctor who fled during the assault, which began at about 10:00 local time (05:30 GMT), told the BBC about 140 people were in the hospital when the gunmen began their attack. Another doctor described to news agency AFP how "total panic" took hold as the attack unfolded.
"The attackers were shooting at anyone in this hospital without any reason," vendor Ramazan Ali, who saw the attack begin, told news agency Reuters. "It's a government hospital, and a lot of people bring in their women and children for treatment."
Afghan Special Forces rescued 100 women and children, including three foreigners, an official told the BBC.
The attackers, who Reuters reported had gained access dressed as police officers, were all killed by security personnel after a battle lasting hours.
Images from the scene of the attack showed soldiers carrying one newborn baby to safety, swaddled in a blood-stained blanket. It is not clear if the infant had been injured.
The Dasht-e-Barchi Hospital has a maternity wing run by MSF. Many foreign staff live in a guesthouse behind the hospital building and a doctor who fled the building told the BBC he saw an explosion there too.
The Taliban, who signed a withdrawal agreement with the United States more than two months ago, have denied involvement in both attacks.
However, later in the day Afghan President Ashraf Ghani said the country's forces would resume offensive operations against the militant group and other insurgents in the wake of Tuesday's attacks.
"In order to provide security for public places and to thwart attacks and threats from the Taliban and other terrorist groups, I am ordering Afghan security forces to switch from an active defence mode to an offensive one and to resume their operations against the enemies," he said in a televised speech.
In the past, similar attacks in this mostly Shia area of the capital have been attributed to the Islamic State (IS) militant group, which has not yet issued a statement. The group's leader in South Asia and the Far East was arrested in Kabul on Tuesday, with two other high profile members, Afghan intelligence said.
In 2017, IS gunmen disguised as medical staff attacked Kabul's main military hospital, prompting widespread shock and anger and raising questions about security. The authorities later confirmed about 50 people had been killed.
But the Taliban also attack hospitals. Last September, 20 people died after a truck packed with explosives was detonated by militants from the group outside a hospital in southern Zabul province.
In the eastern province of Nangarhar, a member of the provincial council was among those killed in the attack on Tuesday on the funeral procession of a local police commander.
According to survivors, thousands of people had gathered for the funeral. The bomb detonated about half-way through.
Ataullah Khogyani, a spokesman for the governor, said another 68 people were injured.
Zabat Amir Mohammad, a former member of the Nangarhar provincial council, told local news outlet Sharq TV that "it was difficult to identify" the bodies among the wounded and killed.
The Taliban have denied carrying out the attack, although it remains unclear who was behind it and the group have denied responsibility in the past for attacks they are accused of.
In northern Balkh province, at least 10 people have been killed and as many others injured in an air strike by US forces, reports say.
Local residents and the Taliban claim the victims were all civilians. But the Afghan Defence Ministry said all those killed were militants.
Since the February peace deal, talks have broken down over a prisoner swap agreed between the US and the Taliban and violence has continued unabated. IS were not part of the negotiations.
The agreement was aimed at ending more than 18 years of war since US-led forces ousted the Taliban from power following the 9/11 attacks on the US, whose mastermind Osama Bin Laden had been given sanctuary by the hardline Islamist group.
Tens of thousands of people, most of them civilians, have been killed in the conflict. Many more have been injured or displaced from their homes.
Latest Stories
-
I’m proud that despite all the challenges, we have maintained Free SHS – Akufo Addo
3 hours -
Alan’s running mate, KOD says GRASP will revolutionize care for the Elderly in rural areas
3 hours -
Election 2024: Alan paints Accra yellow as the crowd marches through the capital with him
3 hours -
Vacant seats: Speaker has not done what would have led to greater peace – Kofi Bentil
3 hours -
Police on manhunt for Adabraka daylight robbers
3 hours -
Lordina Mahama presents medical supplies and equipment to Tishigu Health Center
3 hours -
Lordina Mahama urges Ghanaians to prioritise regular health screenings
3 hours -
EC to reassess decision on presidential ballot printing next week – Dr Bossman Asare
4 hours -
Shark attacks surfer, 61, on Hawaiian island of Maui
4 hours -
29 Nigerian children may be sentenced to death for protesting against cost-of-living crisis
4 hours -
Nigerian becomes first black woman to lead major political party in the UK
4 hours -
Perception issues affecting Supreme Court – Nii Armah Addy
5 hours -
Armed men bolt with cash at Adabraka market in dramatic daylight robbery
5 hours -
Bawku Conflict: National Security fully aware of events – Bawku Naaba’s lawyer
5 hours -
Dodome to celebrate festival in a bid to construct traditional council facility
5 hours