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: COVID-19 In Pittsburgh: Allegheny County Reports 994 New Cases, 12 Additional Deaths Over 72 Hours

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: COVID-19 In Pennsylvania: State Reports 3-Day Total Of 11,208 New Cases, 105 More Deaths

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

MORE NEWS: Sources: U.S. Representative Mike Doyle To Announce He Is Not Seeking Re-Election In 2022

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