A Circuit Court judge has sentenced Zachary Buza to 40 years in prison for shooting at an Indiana State Police trooper from the window of a Rosedale home following a domestic dispute in July 2012, reports the Terra Haute Tribune-Star.

Buza, 20, had been convicted of attempted murder.