Three German nationals have been killed in a bomb attack on a convoy on the outskirts of Kabul, officials said.
Germany has about 3,000 troops in Afghanistan
Germany's interior ministry said the three were police officers deployed to Afghanistan in order to protect the German embassy.
The Taleban said recently they were targeting Kabul and the city has seen many lethal bombings in recent months.
The British embassy has also confirmed that a UK national has been shot dead in Kabul.
The convoy was reportedly 10km (six miles) south-east of Kabul on the Jalalabad road and travelling to a shooting range when it was hit.
One of the vehicles was blown onto its side.
Helicopters arrived at the scene and took the bodies away, witnesses said.
A fourth German officer was wounded but his injuries are not life-threatening.
Germany's Interior Minister Wolfgang Schaeuble condemned the "underhanded attack".
German investigators were being sent to investigate the explosion, he said.
Foreign Minister Frank-Walter Steinmeier said: "I learned of the deaths of three employees of the German embassy in Kabul with deep sadness and horror.
"Those behind this attack must be investigated and dealt with as soon as possible."
The Taleban have been stepping up bomb attacks in the capital.
In June, a police bus was bombed there killing up to 35 people, the most devastating attack in Kabul since the Taleban were ousted in 2001.
The Taleban kidnapped two Germans last month in Wardak province. One was found shot dead on 21 July, the other is still believed to be alive.
Germany has about 3,000 troops in Afghanistan.