ABC News October 21, 2018

US general was wounded in Kandahar attack

WATCH: US top general back on streets after deadly attack in Afghanistan

Army Brigadier General Jeffrey D. Smiley was the wounded U.S. service member shot in Thursday's insider attack in Kandahar that killed two top Afghan officials in the province. The top U.S. military commander in Afghanistan was also present during that attack, but was unharmed.

National Guard
Brigadier General Jeffrey D. Smiley is pictured in this undated photo.

"I can confirm that General Smiley is recovering from a gunshot wound," Lt. Cmdr. Grant Neeley, a spokesman for Resolute Support, the NATO-led training command in Afghanistan, told ABC News.

Muhammad Sadiq//EPA via Shutterstock
Afghan security officials stand guard on a road as security has been intensified a day after a Taliban militant killed General Abdul Razzaq Dawood, an Afghan Police commander and Provincial Intelligence Chief as U.S. General Miller escaped unhurt, in Kandahar, Afghanistan, Oct. 19, 2018.

"He is being treated at a Resolute Support hospital in Kandahar," said Neeley.

Smiley is the commander of the Training and Advise and Assist Command-South (TAAC-South) that has the lead in advising Afghan security forces in southern Afghanistan and had assumed command in late June. He is a general with the California National Guard, in command of the Guard’s 40th Infantry, which is one of the lead units in Kandahar.

New details of top US general's close call in Afghanistan insider attack

The identity of the U.S. service member injured in the attack had not been disclosed until Sunday after it was first reported by the Washington Post.

Carried out by a gunman believed to be an Afghan bodyguard, Thursday's attack killed the top police official in Kandahar Province as well as the province's top intelligence official. The governor of Kandahar was also wounded, as was another American civilian employee and an Afghan interpreter.

U.S. Army photo by Staff Sgt. Neysa Canfield/TAAC-South Public Affairs
U.S. Army Maj. Gen. Andrew Poppas, deputy chief of staff for operations for Resolute Support Mission and the deputy commanding general for operations for U.S. Forces Afghanistan, hands the Train, Advise and Assist Command-South colors to U.S. Army Brig. Gen. Jeffrey Smiley, incoming commander for TAAC-South, June 30, 2018 during a Transfer of Authority ceremony in Kandahar, Afghanistan.

General Austin Scott Miller, the top U.S. general in Afghanistan, was present during the shooting that started after his meeting with the Afghan officials.

The gunman opened fire as they waited outside for Miller's helicopter to arrive. The gunman was shot and killed almost immediately.

Miller told reporters Friday that he believes that the Afghan officials were the targets of the attack.

Miller, like the other U.S. personnel around him, pulled out his handgun, which is standard practice in such a situation.

"When there’s a threat, we will draw our weapons,” said Col. Dave Butler, a Resolute Support spokesman. "That’s what we’re trained to do and Gen. Miller is no exception."

What followed was a combination of U.S. and Afghan forces securing the area and tending to the wounded.

Miller had some of the wounded transported aboard his helicopter so they could quickly receive medical treatment.

The Taliban quickly claimed responsibility for the attack that appeared to be the closest a U.S. commanding general in Afghanistan has come to being shot or seriously harmed.

The insider attack delayed the key parliamentary elections in Kandahar by a week, they proceeded on schedule Saturday in the rest of the country.