On 26 August 2021, shortly after the Taliban conquered Kabul, Abdur Rahman Logari detonated his suicide vest near the Abbey Gate in the city’s airport, killing 170 men, women and children who were trying to flee the country. Two days later, a US drone strike killed an entire Afghan family in the mistaken belief that the target was Logari. Joe Biden would later describe the Abbey Gate attack — Isis’s most successful operation in Afghanistan — as “the hardest of the hard days” of his presidency. Harder days, however, were soon to come.
While a recent US military review concluded that Logari’s plot was not preventable, the findings were less a vindication of America’s chaotic withdrawal than a reminder of how the US–Afghan relationship had broken down. As US forces withdrew, many Afghan government officials told me that they had warned their US counterparts about the threat of Islamic State – Khorasan Province (IS–KP), the Afghan branch of Isis. But it appears the US had stopped listening to their warnings; and in doing so, it helped to create the very conditions that led to the Abbey Gate attack.
One of the men who had warned them was Ahmad Zia Seraj, the General Director of Afghanistan’s intelligence agency, the National Directorate of Security (NDS). Once a revered spy chief targeted by the Taliban for assassination, Seraj, now a refugee waiting for his residency papers and teaching at King’s College London, cut a very different figure when we met in a London hotel at the end of last year.
Long before the US withdrawal, Seraj had been telling the American top brass about the threat of IS–KP, and is still doing so. “We had detainees from 15 different nationalities in our NDS detention facilities,” he told me. In fact, Seraj had personally interrogated Logari. He knew him as Hamed, a “bright, intelligent young man who spoke several languages fluently”. Seraj described how he brought religious scholars and even Logari’s father to his cell in an attempt to dissuade Logari from becoming a suicide bomber. But it was no use: “Once a person wants to become a suicide bomber, there’s nothing that can stop him.” Logari didn’t want freedom; he wanted paradise.
Seraj told me that he had shared everything the NDS had with the CIA, who would then brief Nato’s commander in Afghanistan, General Austin Miller, and other US officials. “Frankly speaking we were on the same page.” In fact, he warned anyone who would listen — whether the US, Pakistan, or Central Asian states — about the security threats. So why was he ignored?
During the postmortem of the chaotic US withdrawal, Biden blamed Trump and the US military intelligence apparatus which didn’t anticipate the speed of the Taliban takeover. He also blamed the Afghan government and the unwillingness of the Afghan army to fight. It seemed to play on tropes and criticisms made by journalists and Afghans for decades that Afghanistan was run by corrupt politicians and warlords.
Trump had dealt Biden a bad hand when he came to office in January 2021. The Afghan–American relationship had been damaged ever since the Doha Accords were signed between the Americans and the Taliban in February 2020. The agreement stipulated that the US would withdraw its troops from Afghanistan by 1 May 2021; the Taliban, in turn, promised to cut ties with al-Qaeda and sit down for peace talks with the Kabul government. Yet the democratically elected Afghan government wasn’t part of the discussions.
The deal had been engineered by Afghan-American diplomat Zalmay Khalilzad, an experienced figure who served under various US presidents, including Ronald Reagan in the Eighties, but whose rough and tumble diplomacy was not liked in Kabul. The US envoy had reached out to the Taliban without consulting the Afghan government. As Abdullah Khanjani, the government’s Deputy Minister for Peace, told me: “One of the key strategic problems with the whole structure of the peace process was that the Americans did not integrate the Afghan state and Afghan voices into it.”
By contrast, the negotiations empowered and legitimised the Taliban. According to Khanjani, with the Doha Accords, “a strategic propaganda opportunity was given to the Taliban, as an insurgent group. [US Secretary of State] Mike Pompeo sat there to endorse the deal with the legitimacy of being ex-CIA. And this was a shock to everyone. It was a game changer for the Taliban. And this also normalised the Taliban and [changed] the international system of power relations.” A green light was given for other countries to follow suit.
The Doha Accords also set the stage for the Abbey Gate attack. The terms of the deal included a prisoner swap, with the Taliban receiving 5,000 prisoners in exchange for 1,000 captives. The Afghan government was incensed by the condition: the US seemed to be treating Afghanistan as if it was not a sovereign nation but a plaything of empire. One day after the accords were signed, President Ashraf Ghani told reporters that “the government of Afghanistan has made no commitment to free[ing] 5,000 Taliban prisoners”, adding that 400 of those prisoners were “a threat to the world”. Seraj told me that many of those prisoners were involved in high-profile attacks including those on the German embassy in 2017, the Intercontinental Hotel in January 2018 and the G4S compound in November 2018. Some of those released, according to a senior government official, were not Taliban fighters but belonged to IS–KP and were related to the Taliban through familial and tribal links. Their release would mean that many would return to the insurgency.
Neither the preliminary intra-Afghan peace talks in Doha nor the prisoner swap that followed resulted in a reduction in violence. Instead, they gnawed away at the state, creating the conditions for the chaos to come. According to Shuja Jamal, international relations director at the Afghan government’s National Security Council, more than 21,000 Afghan army soldiers were killed, injured, taken prisoner or deserted between March and October 2020. Attacks on journalists and politicians increased as well.
But perhaps more importantly, the prisoner swap demoralised the NDS — the very agency that the US needed to share vital local information. The officers who had interrogated the prisoners could now be identified and targeted by the Taliban and IS–KP. As Seraj explained, many of the NDS officers no longer wanted to risk carrying out interrogations and debriefings if the prisoners would be released.
“You knew the flood was coming, but you didn’t have the tools to fight it,” Seraj added. He had always wanted to model the NDS on the CIA and focus purely on intelligence-gathering, but this soon proved impossible. Instead, Ghani tasked him with strengthening citizen militias that could resist the coming Taliban onslaught. But accepting the task, which he felt should be the military’s remit, made the NDS cumbersome. They were now working with local mayors and tribal and security chiefs on sourcing weapons instead of being the eyes and ears of the republic. And as government forces neared collapse, more problems piled up on Seraj’s desk. Instead of focusing on the enemy, the NDS were forced to investigate corruption allegations against these militias. “80% of our work fell to investigating those charges, while the enemy was at the gates.”
“You knew the flood was coming, but you didn’t have the tools to fight it.”
The US withdrawal also meant reducing the air support given to Afghan forces. “Our forces,” said Seraj, “had become so addicted to air support, that without it, it was very difficult for them to fight.” It meant that the Afghan army could not stop the Taliban advance, resulting in the swift collapse of the republic. The Taliban made the situation even more difficult by deliberately targeting Afghan pilots and many were unwilling to fly. Due to a domestic skill shortage the Afghan government tried to source foreign contractors who could service their aircraft, but with little success. In December 2020, National Security Advisor Hamdullah Mohib flew to Azerbaijan to buy drones which Baku had used to devastating effect against the Armenians in the second Nagorno-Karabakh War weeks earlier, but to no avail. Kabul also reached out to Turkey and the US, wanting to set up a special operations team that could deploy Predator and Reaper drones, but the US was reluctant to accede to their requests.
Meanwhile, Pakistan was working to undermine the Afghan government. Although the US and Pakistan were allies, Islamabad had always viewed the US presence in Afghanistan as a threat to its nuclear arsenal, which it needed to counter its hostile neighbour, India. As a result, it could not support the US-backed government in Kabul and instead provided sanctuary to the Taliban. Seraj had confronted his Pakistani counterparts on the issue many times, but they would often deny or deflect the issue.
The Trump administration aggravated the situation in other ways. After the US assassination of IRGC commander Qassem Soleimani in January 2020, the situation in Afghanistan became more volatile. Tehran wanted revenge and allowed the Taliban to open up an office in Mashhad in north-eastern Iran. “There was a strong commitment from the Iranians to help the Taliban,” Seraj said. “It’s not that the Taliban are very friendly to them, it was just to see the US leave, and Taliban were used as a tool to expedite that process.”
When Biden came to office in January 2021 he pledged to “lead not merely by example of our power but by the power of our example. We will be a strong and trusted partner for peace, progress and security.” However, as Alexander Ward shows in his new book, The Internationalists, Biden had always been consistent about getting out of the nation-building business. After a review, he pressed ahead with Trump’s withdrawal policy, albeit with a slight delay. American troops would now leave by the end of August 2021.
Biden made the hand that Trump had dealt him even worse, at least from the perspective of his Afghan partners. The fact that they kept on Khalilzad, Trump’s special envoy, was a sign to Mohib that they would get more of the same. “He would be their fall guy,” Mohib told me. Moreover, as if to rub salt in the Afghans’ wounds, a scathing letter from the new US Secretary of State Antony Blinken, was leaked. It urged Ghani to return to the negotiating table, humiliating and alienating the Kabul government further. It showed the world how the US treated their “partners” and destroyed any goodwill left between Washington and Kabul. Afghan government delegations visited both Moscow and Tehran, apparently exploring other political options.
In February 2021, Seraj invited regional intelligence chiefs to a secret conference and urged them to support his government, warning that many of the extremist groups that plagued them, such as the Islamic Movement of Uzbekistan (IMU), had close ties with the Taliban. The response was muted. “Those were the days when the popularity of the government was so low in Afghanistan,” Seraj recalled, “the neighbours didn’t take us seriously because they knew the government was dying.”
Four months later, Biden gave the order to withdraw. It was to be done as fast as possible: Washington wanted to reduce the risk to its own troops, but in its eagerness to leave, created the conditions for suicide bombers to flourish and move undetected. The US assessed that the Afghan army would hold out long enough to come to a negotiated settlement with the Taliban. But they didn’t take into account Pakistan’s role.
Intense clashes between the Taliban and the Afghan army immediately broke out in Wardak and other areas. In June 2021, the Taliban took more territory and there was fighting in 26 of Afghanistan’s 34 provinces. Speaking two years later, Fazli Rafi, the former Deputy National Security Advisor, told me that the government assessed that these attacks had a professional command and control structure. “The Taliban knew guerrilla warfare, but this time the Taliban were attacking in 24 different provinces with three different districts in each. That was over 100 battle fronts. We assessed that the Taliban could only attack five provinces. This was the work of a professional army – and Pakistan was implicated.”
On 22 June, Seraj’s overwhelming fear was realised. Sher Khan Bandar, the main crossing point on the border with Tajikistan, fell to the Taliban. The dam had been breached. The Afghan government could no longer control its own borders. It was now a case of salvaging whatever one could from the flood.
Even at the height of the crisis, the president tried to sidestep ministers he felt were close to the Americans. Ghani had become very suspicious of ministers and political leaders. According to insiders, he felt that many Afghan leaders had private back channels with the US and the Taliban and were pursuing their own agendas. But marginalising the ministers only led to more chaos. When they ordered the commanders to do something, the latter responded by saying that the president had told them otherwise.
On 2 July, US troops withdrew from Bagram air base, the key entry point for American hardware and personnel for 20 years. Only a few troops stayed behind to protect the US embassy. By the end of that month, the southern cities of Herat, Kandahar and Lashkar Gah were scenes of intense fighting. In the first week of August, the Taliban assassinated Dawa Khan Menapal, President Ghani’s public relations chief. Reports of Taliban fighters settling old tribal scores on the Spin Boldak border crossing with Pakistan heightened the fear.
By the time the president fled Kabul on 15 August, all the major cities had fallen. It was on that day that the Taliban opened the gates of Pul-i-Charkhi prison on the outskirts of Kabul. Taliban militants, as well as hardened criminals, emerged into the sunlight to taste freedom. And among the throng was Logari.
Seraj was shocked by the president’s departure. Moments earlier, Ghani had called him personally saying that “we should not allow thieves and people to create chaos, we should use whatever force we still have to control the situation”. At the time, Seraj was in Kabul scrambling to secure the release of the governor of Herat, Ismail Khan, as well as trying to relieve Mazar-i-Sharif — the largest city in northern Afghanistan. When the Taliban entered Kabul, he made his way to the presidential palace with his side arm at the ready, intending to protect the Commander-in-Chief of the republic until the end. He expected a call from the president to join other ministers and officials at the palace and then wait for him to take a final decision on the right course of action. Ghani’s departure stunned him. He returned to the office and sat on his desk, numb. “I was speechless for 20 minutes.”
One by one, his WhatsApp groups also fell silent, as ministers and senior civil servants started to leave them. He received messages from his colleagues asking for instructions. But what could he tell them? Should he ask them to fight the Taliban? “The elected government that we’re fighting for has collapsed,” Seraj said. “So what was our legitimacy to stay on?” He continued to receive panicked messages from his colleagues asking for orders, but he had none to give, except that they should lie low and find safety as best they possibly can. The republic was no more and they were now on their own. A US State Department contact got Seraj out of the country, and he joined his wife who was already in London.
As August passed and Seraj began to piece his life together, the chaos of Biden’s withdrawal became apparent. Today, there are already many reports that al-Qaeda are rebuilding, unimpeded. The UN security council recently noted that eight new camps had been established in 2024 alone. An organisation that appeared to be on life support, looking for a reason to exist, appears to be suddenly revived: in a piece published this month, al-Qaeda’s new leader, Sayf al-Adl, called for attacks on Western and Zionist targets.
In such a world, it’s hard not to be reminded of Seraj’s earlier warning: “You knew the flood was coming, but you didn’t have the tools to fight it.”