The US military has confirmed the death of an American service member in eastern Afghanistan, bringing the number of American troops killed in Afghanistan in the long-running conflict to 2,000.

The international coalition in Afghanistan said earlier today that one of its service members was killed in a suspected insider attack by Afghan forces.

A US official said that the dead service member was American.

The number of American dead reflects an Associated Press count of those members of the armed services killed inside Afghanistan since the US-led invasion on October 7 2001.

At least two Afghan soldiers were also killed in yesterday's attack at an Afghan army checkpoint in Wardak province, said Shahidullah Shahid, a provincial government spokesman.

An Afghan soldier turned his gun on the Americans and started shooting, Mr Shahid said. He said the checkpoint was in Sayd Abad district, just outside a joint US-Afghan base.

"Initial reports indicate that a misunderstanding happened between Afghan army soldiers and American soldiers," Mr Shahid said. He said investigators had been sent to the site.

An Afghan military spokesman declined to comment.

Afghan soldiers and policemen - or militants in their uniforms - have gunned down more than 50 foreign troops so far this year, eroding the trust between coalition forces and their Afghan partners.

An equal number of Afghan policemen and soldiers also died in these attacks, giving them reason as well to be suspicious of possible infiltrators within their ranks.

The attacks are taking a toll on the partnership between international and Afghan forces, prompting the US military to restrict operations with small-sized Afghan units earlier this month.

The close contact - with coalition forces working side by side with Afghan troops as advisers, mentors and trainers - is a key part of the US strategy for putting the Afghans in the lead as the US and other nations prepare to pull out their last combat troops at the end of 2014, just 27 months away.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.