US service members and Afghans have been killed in two suicide bombing attacks outside Kabul’s airport, a Pentagon spokesman said Thursday.

The deadly blasts came as the United States and other Western countries raced to complete a massive evacuation of their citizens and Afghan allies following the Taliban takeover of the country.

“We can confirm that a number of US service members were killed in today’s complex attack at Kabul airport. A number of others are being treated for wounds. We also know that a number of Afghans fell victim to this heinous attack,” Pentagon spokesman John Kirby said Thursday. “Our thoughts and prayers go out to the loved ones and teammates of all those killed and injured.”

US officials have been warning over the past week that a threat of a terror attack at the airport was becoming more acute. Earlier on Thursday local time, US diplomats in Kabul warned American citizens to “immediately” leave several gates into the airport, citing security threats.

A US defense official had also told CNN that officials were concerned by a “very specific threat stream” involving the ISIS affiliate in Afghanistan.

US officials believe the group, ISIS-K, was likely behind today’s attack but are still working to confirm its involvement, according to a senior US official and another source briefed on initial assessments. The second source told CNN it may take a few hours before US officials are able to identify the specific individuals who carried out the apparent suicide bombing.

Thousands of Afghans have been gathering at the airport’s gates in recent days, trying to be evacuated.

Kirby said earlier that one of the explosions happened “at the airport’s Abbey Gate” and “at least one other explosion happened at or near the Baron Hotel, a short distance from Abbey Gate.”

Abbey Gate has become the main entry point to the airport and primary security there has been provided by US Marines.

The area around Abbey Gate had been used for holding refugees after they passed through the Taliban check points outside the airport, and before they were allowed to go to the airport.

Baron Hotel was used by British soldiers and other allies as an evacuation handling center to process evacuees, before moving them up to the Abbey Gate. It is unclear whether international forces were still in the area when the explosion happened.

The US Embassy in Kabul said US citizens who were at the Abbey Gate, East Gate, or North Gate of the airport “should leave immediately” in the wake of the blast.

“There has been a large explosion at the airport, and there are reports of gunfire,” the security alert said. “US citizens should avoid traveling to the airport and avoid airport gates at this time,” it added.

US President Joe Biden has been briefed on the explosions, a White House official said.

Evacuations slowing down

Tens of thousands of people have been evacuated by the US military and NATO allies from the airport in the past two weeks. These evacuations are set to start winding down in the next few days, ahead of US’ August 31 deadline for the final exit from a 20-year war in Afghanistan.

Biden had cited the risk of a terror attack among the reasons for getting US troops out of the country by August 31. He had also promised a swift and forceful response to any disruption to the operation.

The numbers of people evacuated have already started dwindling down. From 3am ET Wednesday to 3am ET Thursday, 13,400 people were evacuated from Afghanistan, with approximately 5,100 via US military flights and 8,300 via coalition flights. That compares to 21,000 evacuated over the 24-hour period from Monday to Tuesday and 19,000 between Tuesday and Wednesday.

Over 95,700 people have been evacuated since August 14 and over 101,300 since the end of July.

Several European countries, including Belgium, the Netherlands and Poland, announced their evacuation missions would end on Thursday. Denmark said its last flight left Afghanistan on Wednesday evening. Canada’s efforts have also come to an end, General Wayne Eyre, Canada’s acting chief of defense staff, said in a virtual briefing Thursday.

In the wake of the blast, French President Emmanuel Macron warned the situation around the airport had seriously deteriorated. “As we speak, we have 20 buses of dual citizens and Afghans that we would like to be able to repatriate,” he said. “I cannot guarantee that we will be successful because the security situation is beyond our control.”

UK Prime Minister Boris Johnson was chairing an emergency meeting of the Cabinet Office Briefing Rooms (COBR) meeting, following the explosion, a Downing Street spokesperson told CNN.

A spokesperson for the UK government said the government was “working urgently to establish what has happened and its impact on the ongoing evacuation effort.”

“Our primary concern remains the safety of our personnel, British citizens and the citizens of Afghanistan. We are in close contact with our US and other NATO allies at an operational level on the immediate response to this incident.”

German Chancellor Angela Merkel said Thursday that those who have not yet been able to access evacuation flights from Kabul will not be forgotten, adding that the German Foreign Ministry is still in negotiations with the Taliban.

“We know that the window of opportunity is closing. Tens of thousands of people have been rescued but I want to say again today: we will not forget those people who could not be rescued by the air bridge. Rather we will do everything we can to enable their evacuation,” Merkel said.

Abdullah Abdullah, the chairman of Afghanistan’s Reconciliation Committee under the previous government condemned the attacks on Thursday. “I strongly condemn the terrorist attack at Kabul Airport which killed and wounded a large number of the civilians,” he said in a tweet.

Early on Thursday CNN reported the Taliban has taken away security from former Afghan President Hamid Karzai and Abdullah Abdullah.

Volunteers and medical staff unload bodies from a pickup truck outside a hospital after two powerful explosions outside the airport in Kabul on August 26