Ask me how much pity I have for this guy, and I’ll tell you, “none.”

A Liberty man shot while trying to flee a Missouri Highway Patrol trooper who was hanging onto his car was sentenced Wednesday to 30 years in prison.

Alan G. Hampton, 42, was accused of resisting arrest, possessing a controlled substance and being a felon in possession of a firearm in connection with the incident early July 8, 2012.

During the sentencing, Clay County Circuit Judge K. Elizabeth Davis told Hampton it was “a wonder that you and the officer are still alive.”

Hampton apologized. Authorities said he was high on drugs at the time.

Hampton was shot twice as he attempted to drag Cpl. Cody Dunfee. Drugs and a gun were recovered in the car.

Dunfee previously survived a chest shot to his body armor in 2009 while arresting a murder suspect.