LEONARDTOWN, Md. (AP) — The superintendent of the Maryland State Police says a trooper responding to a pair of 911 calls shot and killed a teenager who was pointing what investigators determined was an airsoft gun at the officer.

Superintendent Woodrow Jones II said Tuesday that the shooting occurred near the State Police barracks in Leonardtown. Jones says the responding trooper encountered the 16-year-old Peyton Ham at a home and shot him after he displayed the weapon.

Jones says the trooper fired a second time when the teenager brandished a knife as he tried to get up. Authorities say the teen was white, as is the trooper who shot him.