Afghanistan’s Defense Ministry is calling the shooter at an officer training camp a “terrorist in an army uniform”.

He opened fire at the camp west of Kabul, killing the highest ranking U.S. soldier to die in the almost 13 years America has been at war there. Of the 15 injured, at least half are American and one is a German Brigadier General.

Most foreign troops are set to leave Afghanistan at the end of this year. So-called “insider attacks” have declined since their peak in 2012.