Germany has completed its troop pull-out from Afghanistan, started in May, the defence ministry announced on Tuesday, ending a nearly 20-year deployment there alongside US and other international forces.
The announcement of the pull-out of German troops, whose presence there was second only to the US forces, came as the US aims to complete its own withdrawal by September 11.
"After nearly 20 years of deployment, the last soldiers of our Bundeswehr have left Afghanistan this evening," said German Defence Minister Annegret Kramp-Karrenbauer in a statement. "They are on the way back.
"A historic chapter comes to an end, an intensive deployment that challenged and shaped the Bundeswehr, in which the Bundeswehr proved itself in combat," she added.
On Twitter, the minister offered her thanks to all the 150,000 men and women who had served there since 2001, saying they could be proud of their service.
And she paid tribute to those killed and wounded in service there. "You will not be forgotten," she said.
According to the army, 59 German soldiers have been killed since 2001 in the course of their service in Afghanistan.
The last of the troops were airlifted out of their base at Mazar-i-Sharif in northern Afghanistan on two German A400 Ms and two US C17s.
Germany a major contributor
Before the pull-out began, Germany still had 1,100 soldiers operating as part of the 9,600-strong NATO training and support mission — second only to the US military presence.
Britain, Italy and Turkey also have a significant military presence there, the five countries between supplying 6,000 members of the mission, called Resolute Support.
Smaller contributors to the force, such as Denmark, Estonia and Spain, have already pulled out their forces.
Germany stepped up its pull-out after US President Joe Biden announced he was pulling US troops out of the country after 20 years there.
In April, Germany's defence ministry had announced it planned to pull out its troops by early July.
Biden aims to have US troops out of Afghanistan by September 11, the 20th anniversary of the devastating Al Qaeda attacks on the United States.
The pace of the US pull-out has led to speculation that he aims to have them all home before July 4: Independence Day in the United State.
Questioned by AFP about the timetable for the pull-out on Tuesday, a NATO spokesman would only say: "The withdrawal of forces is proceeding in an orderly and coordinated manner.”
"While we reduce our military presence, we are continuing to support Afghanistan, by ensuring training and financial support for the security forces and the Afghan institutions, by maintaining a diplomatic presence in Kabul and by financing the functioning of the international airport," the sourced added.
The Pentagon declined to comment on the German announcement.
Fears over Taliban
The security situation in Afghanistan has been deteriorating for several weeks.
Fighting has surged since early May when the US military began its final withdrawal of troops, with the Taliban claiming to have recently captured more than 100 of the over 400 districts across Afghanistan.
On Tuesday, Gen. Scott Miller, the top US commander in Afghanistan did not rule out conducting air strikes against the Taliban if they pressed on with their campaign.
Some observers fear the Taliban might once again seize the capital Kabul once the Western troops have left, and have expressed fears for the thousands of Afghans who worked alongside the international force.
Washington has already announced it is preparing for the evacuation of their Afghan translators.
The international intervention in Afghanistan began on October 7 2001, less than a month after the 9/11 attacks that killed around 3,000 people in the United States.
The country's Islamic fundamentalist Taliban regime had been sheltering Osama Bin Laden and his Al Qaeda movement, which carried out the attacks. Within weeks, US-led forces had overthrown them.