France‘s evacuation operations in Kabul came to an end on Friday and its team at the makeshift French Embassy at the Hamid Karzai International Airport pulled up stakes.

With nearly 3,000 people transferred out of Afghanistan, Foreign Minister Jean-Yves Le Drian and Defense Minister Florence Parly announced that evacuations drew to a close, according to inputs from the Associated Press.

“The team at France’s embassy in Kabul reached Abu Dhabi before returning to France,” the statement said, suggesting that Ambassador David Martinon was returning home, too. A French base in Abu Dhabi has been the transit point for French evacuees before heading to Paris.

Meanwhile, on Thursday, President Emmanuel Macron had said that the ambassador and other diplomatic staff would leave Kabul “in the next few days” aboard one of the last French flights out. He said the ambassador would maintain his posting but “for security reasons he will be operating from Paris” for the time being.

ALSO READ | Saw doomsday with my eyes: Survivor narrates Kabul airport twin blast horror

The statement by the ministers said that France would continue its work of sheltering Afghans who are threatened, “including after Aug. 31.”

“We are continuing with our efforts with Taliban officials to guarantee they will in no way hinder the departure of those who wish to leave after Aug. 31,” the statement said.

Earlier in the day, Turkey too pulled out all its civilians and military from Afghanistan except for a small number of technicians, President Recep Tayyip Erdogan.

“We transported our citizens to our country. Currently we have a small number of technical elements. Apart from this, we have withdrawn all our teams,” Erdogan told a news conference in Sarajevo, Bosnia.

“Countries that say they are the strongest in the world should leave the places they enter much more carefully,” he said. “Leaving these countries by handing them over to terrorist organizations has a high cost.”

Following the terror attacks at the Kabul airport, all countries have sped up their evacuation process. Two suicide bombers and gunmen attacked crowds of Afghans flocking at the airport Thursday. The attack left more than 100 people dead. The casualties included 13 US troops.

The Islamic State’s Afghanistan affiliate, dubbed Islamic State Khorasan or ISIS-K, claimed responsibility for the attack.

With inputs from the Associated Press