Two Americans — one U.S. servicemember and one civilian — died Wednesday after an attack near a coalition base in Kabul, Afghanistan, according to the U.S. military.

The incident occurred at Camp Morehead, an ammunition supply point outside Kabul. U.S. personnel were visiting the site as part of their train, advise and assist mission, said a U.S. defense official, who was not authorized to speak publicly about the incident. The gunman opened fire at an entry point and was killed.

The U.S. Department of Defense Policy has not released the names of the Americans killed, pending next-of-kin notification.

"Anytime we lose a member of our team, it is deeply painful" said Gen. John W. Nicholson, commander of U.S. Forces-Afghanistan and Resolute Support. "Our sympathies go out to the families, loved ones, and the units of those involved in this incident."

The attack also wounded others but none with life threatening wounds, the U.S. defense official said.

Contributing: Tom Vanden Brook