35-year-old Julius Hurt pleaded guilty in February to violating federal gun and drug laws.

WAYNESBURG, Pa. (AP) — A man shot in the ankle by a western Pennsylvania police officer and later found with heroin and cocaine on his person 3 1/2 years ago has been sentenced to six years in prison.

The Pittsburgh Post-Gazette reports that a federal judge imposed the sentence Friday on 35-year-old Julius Hurt, who pleaded guilty in February to violating federal gun and drug laws.

READ MORE: Juneteenth Celebrations Underway In Pittsburgh

Authorities said a Waynesburg officer chased the suspect in May 2017, and they allege Hurt pulled a gun from his waistband and pointed it at the officer, who fired.

READ MORE: Rostraver Township First Responders Rescue Kitten Stuck In Storm Drain For 1 Day

Authorities said two loaded guns fell next to Hurt as he collapsed.

MORE NEWS: Aliquippa Group Wants To Make Sure Every Kid Has A Bicycle This Summer

(Copyright 2020 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)