A man who was arrested after selling heroin to a Wyoming Division of Criminal Investigation informant is headed to prison.

Tyler Scott Bressette, 31, was sentenced Tuesday in Natrona County District Court to 18-48 months in prison with credit for 13 days served on one count of delivery of heroin.

As part of a plea deal, the state dismissed a second identical charge and capped their sentence recommendation at no more than five years in prison.

The court included in the sentencing order a recommendation for Bressette to be admitted to the intensive treatment unit, following an argument by defense attorney Robert Oldham that Bressette needs help dealing with his substance abuse issues rather than prison time.

Bressette has "very serious controlled substance addiction" to multiple drugs, prosecutor Trevor Schenk said at Tuesday's sentencing hearing.

"I got into some stuff that I shouldn't have gotten involved with," Bressette told the court, asking that his prison term be suspended and that he be placed on probation.

Court documents say Bressette sold user amounts of heroin during controlled buys conducted by an informant working with DCI agents in the first months of 2016. He was arrested June 9 on unrelated charges.

"He told the [presentence investigation report] writer that he was doing it to fund his own addiction," Schenk added.

Bressette is set to stand trial in a few weeks on additional charges in Converse County District Court. He is accused of aggravated assault and battery, conspiracy to commit aggravated assault and battery, aggravated robbery and conspiracy to commit aggravated robbery.

In that case, Bressette is accused of attacking two men along the side of Interstate 25 near Glenrock.

The victims were returning to Casper from Denver after picking up a large amount of heroin, court documents say, and stopped on the side of the road when Bressette and another man allegedly attacked them with a crowbar and pepper spray.

Bressette allegedly took their heroin to "get his stuff back" after one of the victims ripped him off, according to the affidavit.

He could face up to 10-70 years in prison and $40,000 in fines if convicted on all four counts.