A Portland man with an extensive criminal history was sentenced to nearly six years in federal prison after admitting to possessing fentanyl for distribution and being found with more than 123 grams of the deadly drug during a traffic stop in Polk County.