Jalalabad, Afghanistan (CNN)ISIS militants attacked the offices of British aid agency Save the Children in the eastern Afghan city of Jalalabad on Wednesday, killing at least four people and injuring dozens in a 10-hour battle, according to local authorities.
4 killed in ISIS attack on Save the Children in Afghanistan
All five attackers were killed.
Save the Children said it has temporarily suspended all Afghan operations after three staff members were killed. Forty-six other employees, who were hiding in a safe room, were rescued.
"We remain fully committed to helping the most deprived children of Afghanistan," Save the Children said in a statement. The global charity, which runs aid programs in 16 of Afghanistan's 34 provinces, reaches almost 1.4 million children in the country.
ISIS claimed responsibility for the attack, which started at 9 a.m. when a suicide bomber detonated a vehicle laden with explosives outside the office gate, according to the media office for Nangarhar province.
Four other assailants stormed the building and were later killed by security forces, said Attaullah Khogyani, a spokesman for the Nangarhar governor.
ISIS' affiliate in Afghanistan claimed responsibility in a statement released by Amaq news agency, the media wing of the terror group.
Images taken as the siege unfolded showed a massive military presence outside the building. Afghanistan's TOLO news channel published footage showing dozens of what it said were Afghan special forces at the scene.
Gunshots were heard ringing out as people appeared to flee.
The wounded were taken to the hospital, Khogyani said.
"Afghanistan is one of the most difficult places in the world to be a child and for humanitarian workers to operate in," said Evan Schuurman, Save the Children's Asia regional media manager, adding that the organization was devastated.
Nicholas Kay, the UK ambassador to Afghanistan, called the attack an outrage and crime against humanity.
"I hope for a quick and safe end to this horrific incident," he said on Twitter.
Ahmad Shah, 29, lives in front of the Save the Children's branch in Jalalabad.
Shah was at home with some guests when they heard a loud boom. All of their windows were damaged, along with the doors. A dozen of them remained huddled inside afterward.
"We don't feel secure as operations are still going on," Shah said.
Shokrullah, who only gave his first name, has a brother who works at Save the Children. He said his brother told him he made it to the safe room with some colleagues.
An uptick in violence has led many organizations to pull out or scale back their footprint in Afghanistan.
The International Committee of the Red Cross announced in October it would reduce its presence in Afghanistan after its staff were targeted multiple times, with at least six Red Cross aid workers killed in February.
The security situation has worsened in the capital of Kabul, where assailants stormed the Intercontinental Hotel on Saturday.
At least 22 people -- 14 of whom were foreigners -- were killed during an hours-long standoff at the hotel, which sits on the edge of town behind checkpoints on a hill.
Afghanistan's Interior Ministry said 153 people were rescued from the hotel.
A reporter for the TOLO news channel, who survived by hiding on a balcony, described horrific scenes of attackers searching for victims room by room and desperate guests jumping from balconies.
The Taliban claimed responsibility for the hotel attack, but some Afghan officials blamed the Haqqani network, which is aligned with the Taliban but based mainly in Pakistan.