A village in the Achin district of Nangarhar province. AFP / Noorullah Shirzada / file photo
Jalalabad, Afghanistan: An Afghan commando Saturday killed two American soldiers and wounded two others during a joint operation in eastern Nangarhar province, an official said, in the latest so-called insider attack on international forces.
The Taliban claimed responsibility for the attack in the volatile district of Achin, which is also contested by Islamic State jihadists, saying it was carried out by an infiltrator.
"Today around noon an Afghan commando opened fire on US troops in Achin district, killing two American soldiers," provincial spokesman Attaullah Khogyani told AFP.
"The (Afghan) soldier was also killed in the return fire."
NATO forces in Kabul declined to immediately comment on the killings, saying only that they were aware of an incident in eastern Afghanistan.
Taliban spokesman Zabihullah Mujahid claimed on Twitter that four US soldiers were killed in the attack. The insurgents are known to exaggerate battlefield claims.
In April, the US military dropped its largest non-nuclear bomb ever used in combat on a complex of caves in Achin used by IS fighters. The deployment of the so-called Mother Of All Bombs killed dozens of jihadists but fighting in the area has continued.
American troops have partnered with Afghan soldiers in raids against IS Khorasan, claiming the local offshoot of the jihadist group based in Iraq and Syria is steadily losing ground in Afghanistan.
So-called "green-on-blue" attacks -- when Afghan soldiers or police turn their guns on international troops -- have been a major problem during NATO's long years fighting alongside Afghan forces.
Western officials say most insider attacks stem from personal grudges and cultural misunderstandings rather than insurgent plots.
Saturday's attack came just hours after an errant US air strike killed and wounded at least six Afghan policemen in southern Helmand province, in the latest "friendly fire" incident.
Such strikes have bred fierce mistrust between local and foreign forces.
Three American troops were wounded in March when an Afghan soldier opened fire in southern Helmand province, in the first known insider attack on international forces this year.
Similar attacks have also plagued Afghan troops, depleting morale and causing mistrust within security ranks.
The latest killings come at a time of intensified violence and when the United States is considering sending more US troops to Afghanistan.
The Afghan conflict is the longest in American history. US-led NATO troops have been at war there since 2001, after the ousting of the Taliban regime.
US troops in Afghanistan number about 8,400 today, and there are another 5,000 from NATO allies, who mainly serve in a training and advisory capacity.