From Mali to Somalia, al-Qaeda’s affiliates are studying how Islamist movements took power in Afghanistan and Syria. BBC Monitoring’s Mina al-Lami reports that JNIM’s leadership is split between two routes. One is the Taliban’s, which meant taking power by force and conceding little. The other is Ahmed al-Sharaa’s in Syria, which meant compromising, building broad alliances, and reassuring foreign powers. The pragmatists are said to have the upper hand, and the group’s propaganda has already traded its al-Qaeda branding for local grievances.
Both camps treat these victories as strategies that can be learned, and that is their mistake. Neither movement succeeded on its own. The Taliban had a neighbouring state that sustained their insurgency, and al-Sharaa’s movement survived under an outside power’s protection.
Those studying Kabul have remembered the patience but forgotten the patron. They have also overlooked what happened to that patron after the victory, and that is the story the region’s governments most need to hear.
What Made the Fall of Kabul Possible?
Three conditions carried the Taliban back to power.
The first was sanctuary. After 2001, Taliban leaders regrouped in Pakistan, and the Haqqani network operated from Pakistan’s tribal regions. The border put the insurgency beyond the reach of most coalition ground operations, so commanders could rest, recruit, and raise funds where their enemy could not follow. Twenty years of fighting took determination, but it also took a place to survive.
The second was state support. Pakistan’s security establishment kept close ties with the Taliban, believing a friendly government in Kabul would limit India’s influence. The case of Mullah Abdul Ghani Baradar shows how far that influence reached. The Taliban co-founder spent eight years in Pakistani custody after his 2010 arrest and walked free in 2018 at Washington’s request. He went on to lead the negotiations with the United States. A state that could both jail and release the movement’s leaders was more than a bystander.
The third was a withdrawal agreement. At Doha in February 2020, the United States negotiated its departure directly with the Taliban. The deal carried no signature from Kabul. It set a timetable for withdrawal and opened the way to the release of up to 5,000 Taliban prisoners. Both drained confidence in the republic.
The republic’s own failings mattered too, among them corruption, factionalism, and dependence on foreign money. But without these three conditions, the outcome might have been very different.
Syria offers a similar lesson. Al-Sharaa’s movement survived in Idlib partly because Turkish forces and a ceasefire negotiated between Ankara and Moscow shielded opposition-held territory. Turkey was not to Syria’s rebels what Pakistan was to the Taliban, but in both cases an outside power’s decisions shaped the result.
Africa Is Not Afghanistan
Jama’at Nusrat al-Islam wal-Muslimin (JNIM) in the Sahel and al-Shabaab in Somalia have survived years of military campaigns, and both exploit weak governments and real grievances. Measured against the Taliban’s three conditions, though, neither meets any of them.
Neither has sanctuary. Mali’s neighbours treat JNIM as a threat. New gendarmerie units now guard Senegal’s eastern border, and JNIM’s offensive in April drew condemnation from Mauritania and Algeria. Ethiopia and Kenya have spent years fighting al-Shabaab. Both groups hold territory, but only inside the war zone, where they can be struck.
Neither has state support, so both rely on local partners. Kidal fell on April 25 to JNIM’s joint assault with the Tuareg-led Azawad Liberation Front. An attack on his home near Bamako the same weekend left Mali’s defence minister, Sadio Camara, dead. But the two movements share an enemy, not a vision for Mali. The price of their partnership, by analyst Wassim Nasr’s account, was Tuareg acceptance of Islamic governance and a retreat from full independence. A similar alliance in 2012 collapsed within months. In Somalia, al-Shabaab’s October truce with the Ma’awisley, whose fighters had led the campaign against the group, is the same kind of bargain and can be undone as easily.
Neither has a withdrawal agreement. Russia’s forces in Mali are not seeking a negotiated exit, and JNIM’s suggestion that it could have “balanced relations” with Moscow is an offer nobody has taken up. In Somalia, the African Union mission’s UN logistics support is on a twelve-month wind-down set by Washington. But a withdrawal forced by funding is not a Doha. It confers no political standing on al-Shabaab.
Seen this way, the pragmatism that observers find so striking reflects what these groups lack. A movement with a state behind it does not need to court former enemies or soften its message for foreign capitals. JNIM and al-Shabaab are doing both because local alliances are the only backing available to them.
None of this means the two groups cannot advance. Governments can collapse without their enemies having foreign sponsors. But the Taliban’s victory is not a formula to be copied, because the conditions behind it were specific to Afghanistan.
What Did Pakistan Gain?
The most important lesson of 2021 may lie less in how the Taliban won than in what Pakistan received for its help.
Kabul’s fall drew a verdict from Imran Khan, then prime minister: Afghans had broken the “shackles of slavery.” Islamabad expected a friendly government in Kabul, less Indian influence, and a secure western border. Five years on, the result is close to the opposite on every count.
The Taliban have not acted against Tehrik-e-Taliban Pakistan (TTP). Talks between Islamabad and the TTP collapsed in November 2022, and every year since has been more violent than the last. According to the Pakistan Institute for Conflict and Security Studies, the 2025 toll was 3,413 conflict-related deaths, the highest in more than a decade. Thirty-one people died in a suicide assault in the northwest on September 18, and ten policemen in a TTP attack on November 11.
The border has become a front line. October 2025 brought the worst fighting between the two armies in years. By February 2026, “open war” was Defence Minister Khawaja Asif’s term for the relationship. Trade has barely moved across the border since October 2025, and Pakistan’s ports now handle a fraction of the Afghan transit cargo they handled before the Taliban’s return. The dispute between the two governments also cost the Moscow Format its joint statement in October 2026.
India has gained ground as well. New Delhi received Taliban Foreign Minister Amir Khan Muttaqi in October 2025, and the visit ended with India committed to reopening its embassy in Kabul. The movement Pakistan backed partly to keep India out of Afghanistan is now building its own relationship with India.
Reported Pakistani contacts with Afghan anti-Taliban groups point to a deeper reversal, though the extent of those contacts remains unclear. The former patron is now confronting its former partner.
The Patron’s Paradox
Pakistan’s strategy backfired because victory changes the relationship between an insurgency and its sponsor.
An insurgent movement needs protection, resources, and political access, and its sponsor’s influence rests on that need. A movement in power controls territory, commands state revenue, and chooses its own partners. This is the patron’s paradox: the more a state succeeds in bringing an insurgency to power, the less influence it holds over the government that results.
The Taliban needed Pakistan while they were fighting. Once in Kabul, they needed nothing Pakistan could withhold, and they owed more to the TTP fighters who had fought beside them than to the officials who had hosted them. Pakistan was as close geographically as ever, but its leverage had gone.
Africa has seen this before. Rwanda and Uganda helped carry Laurent Kabila to power in Kinshasa in 1997. Little more than a year later came his order expelling Rwanda’s troops, and within days the region was at war again.
The Lesson for Governments
Governments across the Sahel and the Horn of Africa should study this closely. A state facing insecurity may be tempted to reach an understanding with an armed group in order to calm a border, weaken a rival, or buy influence next door. Each of these choices can look sensible at the time, as Pakistan’s choices did. The short-term gains are real, but the paradox means the long-term costs fall on the sponsor.
Governments can also strengthen these movements through their own mistakes. In Mali, the collapse of the 2015 Algiers accord and the forcible capture of Kidal in November 2023 turned Tuareg separatists from negotiating partners into JNIM’s allies. A government that closes political channels and labels every opponent a terrorist pushes its enemies together.
The argument inside JNIM over which model to follow will be settled less by doctrine than by whether any state steps forward as its guarantor. That is the one condition these groups cannot create for themselves, and it is the one their neighbours control.
Afghanistan offers two stories. One is about an insurgency that survived twenty years of war and returned to power. The other is about the state that sustained it and then found that victory brought new threats and less influence. Armed movements are drawn to the first, and governments should attend to the second.
The insurgency won its capital. The patron inherited the consequences.