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.

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.

An Afghan army soldier takes a position Wednesday near the Save the Children office in Jalalabad.

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.

Read More