CNN  — 

Just last week, US intelligence analysts had predicted it would likely take several more weeks before Afghanistan’s civilian government in Kabul fell to Taliban fighters. In reality, it only took a few short days.

On Sunday, Taliban militants retook Afghanistan’s capital, almost two decades after they were driven from Kabul by US troops.

Although Afghan security forces were well funded and well equipped, they put up little resistance as Taliban militants seized much of the country following the withdrawal of US troops beginning in early July.

On Sunday, Afghan President Ashraf Ghani fled the country, abandoning the presidential palace to Taliban fighters.

Already, US officials have admitted that they miscalculated the speed at which the Taliban were able to advance across the country, with Secretary of State Antony Blinken saying of Afghanistan’s national security forces: “The fact of the matter is we’ve seen that that force has been unable to defend the country … and that has happened more quickly than we anticipated.”

The Taliban’s swift success has prompted questions over how the insurgent group was able to gain control so soon after the US withdrawal from Afghanistan – and, after almost 20 years of conflict in the US’ longest running war, what the Taliban want.

Afghan security personnel take a position during fighting between Taliban and Afghan security forces in Herat province, west of Kabul, Afghanistan, on August 3, 2021.

Who are the Taliban?

Formed in 1994, the Taliban were made up of former Afghan resistance fighters, known collectively as mujahedeen, who fought the invading Soviet forces in the 1980s. They aimed to impose their interpretation of Islamic law on the country – and remove any foreign influence.

After the Taliban captured Kabul in 1996, the Sunni Islamist organization put in place strict rules. Women had to wear head-to-toe coverings, weren’t allowed to study or work and were forbidden from traveling alone. TV, music and non-Islamic h