--Editor's note: this story has been updated to more accurately reflect who was wounded in the attack. Officials initially said three Americans were wounded, and later corrected to note one of the wounded was a coalition contractor.
KABUL, Afghanistan -- The top U.S. military commander in Afghanistan survived an attack Thursday in the southern province of Kandahar in which a legendary Afghan police general and the local intelligence chief were killed and two Americans were wounded, as well as a non-U.S. contractor, officials said.
Officials with Operation Resolute Support said late Monday morning the three wounded were one U.S. service member, one American civilian and one contractor. They have been medically evacuated and are stable, officials said. No other information was immediately available.
The shooting happened at a building where senior officials had just wrapped up a meeting on the situation in the south of the country, a police official who was not authorized to speak with the media told Stars and Stripes. The top U.S. commander in Afghanistan, Gen. Austin "Scott" Miller, attended the meeting but was unharmed in the incident.
The attack killed the province's police chief, Gen. Abdul Raziq, and the local leader of the country's main intelligence agency, the official said.
NATO's Resolute Support mission confirmed that an incident had occurred.
"Initial reports indicate this was an Afghan-on-Afghan incident," a NATO statement said. "Two Americans were wounded in the crossfire and they have been medically evacuated."
"Gen. Miller is uninjured," the statement added. "We are being told the area is secure."
Officials were unable to immediately identify the attacker. U.S. Forces Afghanistan officials said reports indicate he is dead. The location in which the attack occurred has been secured, officials said.
In 2014 U.S. Maj. Gen. Harold J. Greene was killed and about a dozen U.S. soldiers were wounded when an Afghan soldier opened fire inside a building in Kabul. Greene was the highest-ranking general killed in the Afghan War.
-- Hope Hodge Seck contributed to this report.