Two American soldiers were killed in a so-called insider attack when a person in an Afghan military uniform turned his weapon on US and Afghan forces at a joint base in the restive east of the country, coalition forces said yesterday.
Three policemen and two Afghan army officers were also killed in the attack, said a senior police official.
The attack took place as a deadline expired for US special forces to quit the eastern province of Wardak, after Afghan President Hamid Karzai accused them and Afghans working for them of overseeing torture and killings in the area.
An Afghan Interior Ministry official said the attack occurred in Jalriz district of Wardak. It was not immediately clear if it was directed at US special forces.
US Secretary of Defence Chuck Hagel, who left Afghanistan early yesterday after a three-day visit, raised the sensitive issue of Wardak when he met Karzai.
US forces have denied involvement in any abuses in Wardak.
Hagel sounded hopeful that a deal could be reached on their continued deployment, but acknowledged no breakthroughs were made in his talks with Karzai.
Afghans are divided over their expulsion, saying the departure of the US special forces could leave a vacuum for insurgents to fill, which would pose a security risk for nearby Kabul.
The insider, or green-on-blue, attacks have seriously eroded trust between coalition and Afghan forces, who are under mounting pressure to contain the insurgency before most foreign troops leave by the end of next year.