Afghan President Ashraf Ghani replaced the countrys army chief and flew to the besieged northern city of Mazar-e-Sharif, trying to organise its defenses and halt the Talibans rapid offensive, a media report said.

The fired army chief of staff, Lt. Gen. Wali Mohammad Ahmadzai, had only been appointed by Ghani in June.

Afghanistan flag
Afghanistan flag (A file photo)Reuters

Since then, much of Afghanistan's regular military surrendered to the Taliban or melted away, allowing the insurgents to seize nine of the country's 34 provincial capitals and most of the countryside.

Special-operations commando units were the only part of Afghanistan's US-funded national security forces, theoretically numbering some 350,000 men, to consistently fight against the Taliban in recent weeks.

The head of the Afghan National Army's special-operations command, Maj. Gen. Haibatullah Alizai, took command as the new overall army chief.

The Taliban pressed ahead with their offensive on Wednesday, pushing into the southern city of Kandahar and the eastern city of Ghazni, and mopping up the pockets of routed government forces in the country's north.

Mazar-e-Sharif, with a population of half a million, is the only remaining part of northern Afghanistan still under government control, and its fall would allow the Taliban to gather their forces for a march on Kabul.

Leading warlords from the so-called Northern Alliance who battled the Taliban before the 2001 US invasion assembled with Ghani in Mazar-e-Sharif on Wednesday, promising to roll back recent Taliban gains, the report said.