A Lubbock man that was shot and injured by Lubbock Police in 2016 has accepted a federal plea agreement.

KAMC News reports, 27 year-old Peyton Cleveland Wilson admitted to Distribution and Possession with Intent to distribute Fentanyl.

In November 2016, Police went to Wilson’s home with a search warrant. Wilson was armed with a handgun and officers shot him twice. Wilson was taken to UMC for injuries and later taken to the Lubbock County Detention Center where he has remained.

If a judge accepts the plea deal, Wilson will be sentenced at a later date to no more than 20 years in federal prison.