What he did was incredibly stupid, and whether he thought through it at the time, what he did was attempted murder, or at the very least aggravated assault on a police officer, both of which are class B felonies, with sentences of 5-25 years.
Yeah, I think 25 would do it.