The man who allegedly shot at a man and pointed a gun at others in the Ridley's parking lot before leading authorities on a chase through Casper in August admitted Wednesday in Natrona County District Court to his role in a methamphetamine distribution ring.

Doyle Gabbert, 37, pleaded guilty to one count of conspiring to deliver methamphetamine as part of a plea deal. The agreement calls for Gabbert to serve 6-8 years in prison to be served concurrently with a sentence out of Converse County.

Assistant District Attorney Trevor Schenk told the court Wednesday it was Gabbert's alleged use of a handgun and effort to run from police which led investigators to discover that Gabbert was part of a group of meth dealers.

Special agents with the Wyoming Division of Criminal Investigation who were trying to track Gabbert down after he allegedly shot at a man ended up arresting 36-year-old Robin Larson after they found her in Gabbert's Jeep with methamphetamine in her purse.

Tyrone Jackson, 46, was also allegedly involved in the ring. He reportedly admitted to his probation agent on Oct. 13 that he had been selling methamphetamine.

A confidential source told DCI agents that Jackson sold single-gram quantities of meth from June through August 2016.

"Another person named Daniel Evans who was arrested in Cheyenne at the end of August" was also involved, Schenk said Wednesday.

Gabbert will be sentenced at a later date on the methamphetamine conspiracy conviction.

He still faces charges of aggravated robbery, three counts of aggravated assault, two counts of theft, one count of being a felon in possession of a firearm and one count of possession of a deadly weapon with intent to threaten the life of another person.

Prosecutors seek to apply the habitual criminal label in connection with the aggravated robbery and aggravated assault charges. If that happens, Gabbert could face up to 50 years in prison on each count of convicted.