KABUL, Afghanistan — The killing of an American serviceman in an exchange of fire with allied Afghan soldiers pushed U.S. military deaths in the war to 2,000, a cold reminder of the perils that remain after an 11-year conflict that now garners little public interest at home.

The toll has climbed steadily in recent months with a spate of attacks by Afghan army and police – supposed allies – against American and NATO troops. That has raised troubling questions about whether countries in the U.S.-led coalition in Afghanistan will achieve their aim of helping the government in Kabul and its forces stand on their own after most foreign troops depart in little more than two years.

"The tally is modest by the standards of war historically, but every fatality is a tragedy and 11 years is too long," said Michael O'Hanlon, a fellow at the Brookings Institution in Washington. "All that is internalized, however, in an American public that has been watching this campaign for a long time. More newsworthy right now are the insider attacks and the sense of hopelessness they convey to many. "

Attacks by Afghan soldiers or police – or insurgents disguised in their uniforms – have killed 52 American and other NATO troops so far this year.

"We have to get on top of this. It is a very serious threat to the campaign," the U.S. military's top officer, Army Gen. Martin Dempsey, said about the insider threat.

The top commander of U.S. and NATO forces in Afghanistan, Gen. John Allen, was blunter.

"I'm mad as hell about them, to be honest with you," Allen told CBS' "60 Minutes" in an interview to be broadcast on Sunday. "It reverberates everywhere across the United States. You know, we're willing to sacrifice a lot for this campaign, but we're not willing to be murdered for it."

The insider attacks are considered one of the most serious threats to the U.S. exit strategy from the country. In its latest incarnation, that strategy has focused on training Afghan forces to take over security nationwide – allowing most foreign troops to go home by the end of 2014.

As part of that drawdown, the first 33,000 U.S. troops withdrew by the end of September, leaving 68,000 still in Afghanistan. A decision on how many U.S. troops will remain next year will be taken after the American presidential elections. NATO currently has 108,000 troops in Afghanistan – including U.S. forces – down from nearly 150,000 at its peak last year.

The program to train and equip 350,000 Afghan policemen and soldiers has cost the American taxpayer more than $22 billion in the past three years.

The most recent attack came just days after Defense Secretary Leon Panetta said most U.S. and coalition combat units in Afghanistan returned to their practice of partnering with Afghan forces, nearly two weeks after the top U.S. commander put restrictions on such cooperation.

Like so many other deaths in Afghanistan, the latest were shrouded in confusion and conflicting accounts.

On Sunday, U.S. officials confirmed the deaths of two Americans, a service member and a civilian contractor killed late Saturday.

The fighting started when insurgents attacked a checkpoint set up by U.S. forces in eastern Wardak province, said Shahidullah Shahid, a provincial government spokesman. He said the insurgents apparently used mortars in the attack. The Americans thought they were under attack from their allies at a nearby Afghan army checkpoint and fired on it. The Afghan soldiers returned fire, Shahid said.

The Afghan Defense Ministry spokesman said the shooting broke out as a result of a "misunderstanding" while ISAF forces were on patrol near an Afghan army checkpoint.

NATO's International Security Assistance Force, commonly referred to as ISAF, gave a different account of the fighting in Sayd Abad district.

"After a short conversation took place between (Afghan army) and ISAF personnel, firing occurred which resulted in the fatal wounding of an ISAF soldier and the death of his civilian colleague," the coalition said in a statement. It said the three Afghan soldiers died "in an ensuing exchange of fire."

NATO did not say whether it considered this an "insider" attack on foreign forces by Afghan allies.

In Washington, Pentagon press secretary George Little said 2,000 deaths is one of the "arbitrary milestones defined by others " that the U.S. administration does not mark.

"We honor all courageous Americans who have paid the ultimate sacrifice in Afghanistan to make the American people more secure," he said. "The fact of the matter is that America is safer because of all of those who have served in this war, including our fallen heroes."

In addition to the 2,000 Americans killed since the Afghan war began on Oct. 7, 2001, at least 1,190 more coalition troops from other countries have also died, according to iCasualties.org, an independent organization that tracks the deaths.

According to the Afghanistan index kept by Brookings, about 40 percent of the American deaths were caused by improvised explosive devices. The majority of those were after 2009, when President Barack Obama ordered a surge that sent in 33,000 additional troops to combat heightened Taliban activity. The surge brought the total number of American troops to 101,000, the peak for the entire war.

According to Brookings, hostile fire was the second most common cause of death, accounting for nearly 31 percent of Americans killed.

Tracking deaths of Afghan civilians is much more difficult. According to the U.N., 13,431 civilians were killed in the Afghan conflict between 2007, when the U.N. began keeping statistics, and the end of August. Going back to the U.S.-led invasion in 2001, most estimates put the number of Afghan civilian deaths in the war at more than 20,000.

In recent years, some of those casualties have generated a great deal of criticism from President Hamid Karzai and changed the way NATO forces carry out airstrikes. The overwhelming majority of civilian casualties are caused by insurgents – with the United Nations blaming them for more than 80 percent of the deaths and NATO putting that figure at more than 90 percent.

The number of American dead reflects an Associated Press count of those members of the armed services killed inside Afghanistan since the U.S.-led invasion began. Some other news organizations use a count that also includes those killed outside Afghanistan as part of Operation Enduring Freedom, the global anti-terror campaign led by then-President George W. Bush.

The 2001 invasion targeted al-Qaida and its Taliban allies shortly after the Sept. 11 attacks on the United States, which claimed nearly 3,000 lives.

Victory in Afghanistan seemed to come quickly. Kabul fell within weeks, and the hardline Taliban regime was toppled with few U.S. casualties.

But the Bush administration's shift toward war with Iraq left the Western powers without enough resources on the ground, so by 2006 the Taliban had regrouped into a serious military threat.

Obama deployed more troops to Afghanistan, and casualties increased sharply in the last several years. But the American public grew weary of having its military in a perpetual state of conflict, especially after the withdrawal of American troops from Iraq at the end of last year. That war, which began with a U.S.-led invasion in 2003 to oust Saddam Hussein, cost the lives of nearly 4,500 U.S. troops, more than twice as many as have died in Afghanistan so far.

Although Obama has pledged that most U.S. combat troops will leave by the end of 2014, American, NATO and allied troops are still dying in Afghanistan at a rate of one a day.

Even with 33,000 American troops back home, the U.S.-led coalition will still have 108,000 troops – including 68,000 from the U.S. – fighting in Afghanistan at the end of this year. Many of those will be training the Afghan National Security Forces that are to replace them.

"There is a challenge for the administration," O'Hanlon said, "to remind people in the face of such bad news why this campaign requires more perseverance."

___

Associated Press writers Heidi Vogt and Rahim Faiez in Kabul and researcher Monika Mathour in Washington contributed to this report.

Loading Slideshow...
  • Aug. 16, 2012

    A U.S. Army Black Hawk helicopter crashes in the southern Kandahar province, killing seven American troops and four Afghans on board; the Taliban claim they shot the aircraft down. <br><em>Caption: A UH-60 Black Hawk helicopter piloted by a crew from the Idaho Army National Guard Citizen Soldiers of Company A, 1-168 General Support Aviation Battalion lifts off from Gowen Field in Boise, Idaho on Saturday, April 7, 2012, as part of a one-year deployment to Afghanistan. (AP Photo/Idaho Press-Tribune, Charlie Litchfield)</em>

  • April 19, 2012

    A U.S. Army helicopter crashes in bad weather during a night flight in Afghanistan. All four American crew members are killed. <br><em>Caption: This undated photo provided April 24, 2012, shows U.S. Army Sgt. Dean Shaffer, 23, of Pekin, Ill. Shaffer who was killed along with three other soldiers in the crash. (AP Photo/Department of Defense)</em>

  • March 16, 2012

    A Turkish military helicopter crashes into a house near the Afghan capital, killing 12 Turkish soldiers on board and four Afghan civilians on the ground. <br><em>Caption: An Afghan policemen looks at the wreckage from a crashed Turkish helicopter on the outskirts of Kabul, Afghanistan, Friday, March 16, 2012. (AP Photo/Musadeq Sadeq)</em>

  • Aug. 6, 2011

    Insurgents shoot down a Chinook helicopter in the eastern Wardak province, killing 30 American troops, mostly elite Navy SEALs, along with seven Afghan commandos and a translator. <br><em>Caption: A military honor guard carries the remains of Staff Sgt. Andrew W. Harvell, 26, of Long Beach, Calif., who died Aug. 6, 2011, of wounds suffered when his CH-47 Chinook helicopter crashed in the Wardak province, Afghanistan. (AP Photo/Damian Dovarganes)</em>

  • Sept. 21, 2010

    A U.S. Army Black Hawk crashes in southern Zabul province, killing nine troops on board, including four Navy SEALs. <br><em>Caption: In this Aug. 17, 2010, file photo, Staff Sgt. Charlie Collier, of Texas, of the U.S. Army's 101st Airborne Division, Task Force Strike, coordinates inbound Black Hawk helicopters on the landing zone at Forward Operating Base Wilson, Kandahar province, southern Afghanistan. (AP Photo/Brennan Linsley, File)</em>

  • May 30, 2007

    A U.S. Chinook crashes while under fire in southern Helmand, killing one British, one Canadian and five American troops. <br><em>Soldiers part of the NATO-led International Security Assistance Force (ISAF) walk towards a U.S. Chinook helicopter to be transported back to their base after attending at the putting foundation ceremony of a hospital in Shindand, Herat, west of Kabul, Afghanistan, Saturday, Jan. 28, 2012. (AP Photo/Hoshang Hashimi)</em>

  • Feb. 18, 2007

    A U.S. Chinook carrying 22 U.S. soldiers crashes in southern Zabul province, killing eight and injuring 14. <br><em>Caption: A Chinook helicopter leaves after dropping supplies for U.S. Marines at Forward Operating Base Edi in the Helmand province of southern Afghanistan, Thursday, June 9, 2011. (AP Photo/Anja Niedringhaus, File)</em>

  • Sept. 2, 2006

    A British Nimrod aircraft crashes near Kandahar in the south, killing 14 crew members. <br><em>Caption: The coffin containing Flt Sgt Adrian Davies of the Royal Air Force is carried from a C17 plane at RAF Kinloss on September 12, 2006, in Kinloss, nr. Inverness, Scotland. He was one of 14 British servicemen killed when the Nimrod aircraft they were traveling in crashed. (Photo by Andrew Milligan-Pool/Getty Images)</em>

  • May 5, 2006

    A U.S. Chinook helicopter crashes while attempting a night landing on a small mountaintop in eastern Kunar province, killing 10 U.S. soldiers on May 5, 2006. <br><em>Caption: A Chinook transport helicopter arrives with a container of supplies to the Korengal Outpost on October 27, 2008, in the Korengal Vallay, Afghanistan. (Photo by John Moore/Getty Images)</em>

  • Aug. 16, 2005

    A Spanish helicopter crashes near the western city of Herat, killing 17 Spanish soldiers. <br><em>Caption: A television still shown at the congressional committee looking into the helicopter crash which led to the deaths of 17 Spanish soldiers in Afghanistan at Parliament in Madrid, 24 August 2005. (AFP/Getty Images)</em>

  • June 28, 2005

    A U.S. helicopter is shot down in eastern Kunar province during a rescue operation, killing 16 special operations troops. <br><em>Caption: An Afghan worker takes refuge as a U.S. Army Chinook transport helicopter arrives with supplies to the Korengal Outpost to resupply soldiers in the remote area on October 27, 2008 in the Korengal Vally, Afghanistan. (Photo by John Moore/Getty Images)</em>

  • April 6, 2005

    A U.S. Chinook helicopter crashes in a sandstorm near eastern Ghazni, killing 15 American troops and three civilian contractors. <br><em>Caption: Two US soldiers walk nearby the wreckage of a US CH-47 Chinook helicopter in Ghazni province some 100 kms (60miles) south east of Kabul, 07 April 2005. (SHAH MARAI/AFP/Getty Images)</em>

  • Dec. 21, 2002

    A German army helicopter crashes in Kabul, killing seven German soldiers. <br><em>Caption: A German Bundeswehr soldier climbs into a CH53 helicopter for maintenance at the Bundeswehr Camp Marmal, the German troops' base in Mazar-i-Sharif on March 22, 2012. (JOHANNES EISELE/AFP/Getty Images)</em>

  • March 4, 2002

    A U.S. Chinook helicopter is shot down in eastern Afghanistan, killing seven American troops. <br><em>Caption: In this Sept. 16, 2009, file photo a U.S. Special Forces soldier takes cover as two Chinook Ch-47 helicopters come in for a landing with supplies in Afghanistan. (AP Photo/Alex Brandon, File)</em>