Afghan President Ashraf Ghani has accepted the resignations of his defence minister and army chief of staff, after more than 140 soldiers were killed last week in the deadliest ever Taliban attack on a military base.
"Defence Minister Abdullah Habibi and Army Chief of Staff Qadam Shah Shahim stepped down with immediate effect," the presidential palace announced in a post on Twitter.
Shah Hussain Murtazawi, acting spokesman for Mr Ghani, told Reuters the resignations were because of Friday's attack on a major army base in the northern city of Mazar-i-Sharif.
We need your consent to load this rte-player contentWe use rte-player to manage extra content that can set cookies on your device and collect data about your activity. Please review their details and accept them to load the content.Manage Preferences
In a serious security failure, as many as ten Taliban fighters, dressed in Afghan army uniforms and driving military vehicles, made their way onto the base and opened fire on soldiers and new recruits eating a meal and leaving a mosque after Friday prayers, according to officials.
Multiple Afghan officials said the final death toll was likely to be even higher.
The attackers used rocket-propelled grenades, machine guns, and suicide vests, they said.
Mr Ghani declared yesterday a day of mourning, ordering flags to be flown at half staff.
This morning, a small group of demonstrators gathered outside the presidential palace in Kabul to demand the resignation of top Afghan defence officials over the attack.
The attack, and resulting military leadership shake-up, come as the Afghan army prepares for what is expected to be a year of hard fighting against Taliban militants, who now control or contest more than 40% of the country.
Nearly 9,000 US troops remain in Afghanistan, in addition to thousands of international coalition forces.
The administration of new US President Donald Trump is considering whether to make changes to the US mission training and advising Afghan forces, and conducting raids against militant groups such as the so-called Islamic State.
The German military, which has led much of the advising effort in northern Afghanistan, said in the wake of the attack it would continue to work with the Afghans.