The US military has paid tribute to Maj Gen Harold Greene, shot dead by an Afghan soldier in an insider attack on Tuesday, as a "true hero".
Gen Greene, the most senior US soldier killed in action overseas since Vietnam, was shot dead as he visited a UK-run military training facility.
Afghan President Hamid Karzai said the shooting was a "cowardly attack".
Officials said the Afghan soldier who opened fire in the insider attack had been shot dead.
Insider attacks have become one of the defining features of the later phase of the conflict in Afghanistan.
They have hampered efforts to train the country's 350,000-strong security force as they prepare to take on the Taliban once most US and Nato forces depart.
Tuesday's attack is the most high profile.
Along with Gen Greene, at least 15 other soldiers were injured.
Two British, several Americans and generals from Germany and Afghanistan were among the wounded.
Read more: http://www.bbc.co.uk/news/world-asia-28669767