BANGOR — An Aroostook County man has been sentenced to 7½ years in federal prison for ordering 3,800 oxycodone pills from pharmacies in Mexico, using some to support his 10 to 15 pill-per-day habit and reselling the remainder.

Michael Folsom of Presque Isle was also sentenced in federal court on Tuesday to three years of probation and ordered to undergo treatment for his addiction to opiates.

The 34-year-old Folsom pleaded guilty in October to conspiracy to possess with the intent to distribute and distribute oxycodone. He has been jailed since his arrest last June.

He had faced up to 20 years in prison but prosecutors said in court that he has cooperated in the investigation and taken responsibility for his actions.

The Bangor Daily News reports that Folsom apologized in court.