Albany, N.Y. — The U.S. military has identified the officer killed during an insider attack in Afghanistan as Maj. Gen. Harold Greene, who was born in upstate New York and graduated in 1980 from Rensselaer Polytechnic Institute.

Greene was the highest-ranking American officer killed in combat since 1970.

The Albany native was the deputy commanding general, Combined Security Transition Command-Afghanistan. Trained as an engineer, Greene was involved in preparing Afghan forces for the departure of U.S.-coalition troops at the end of this year.

Greene was killed Tuesday in one of the bloodiest insider attacks of the long Afghanistan war when a gunman dressed as an Afghan soldier turned on allied troops, wounding about 15 U.S. and coalition forces. They included a German general and two Afghan generals.