David Andrew Armstrong was sentenced to seven years in prison for the death of NBC Universal studio executive and childhood friend Brian Kaplon.

Armstrong pleaded guilty to involuntary manslaughter in September after he shot Kaplon (pictured) on St. Patrick’s Day in Porter Ranch while showing off his AR-15 semiautomatic rifle.

He was also ordered to pay $3.7 million to the victim’s family. Kaplon worked in the finance department at NBC Universal.