A man who burglarized and stole guns from a central Casper home in February will spend three years of supervised probation with treatment for severe substance abuse issues.

The probation will be served by Alexis Milani instead of a four- to six-year prison term, Natrona County District Court Judge Catherine Wilking said during the sentencing hearing.

Milani, who has been free on bond, was initially charged with one felony count of aggravated burglary because of a weapons theft, one felony count of conspiracy to commit burglary, one misdemeanor count of possession of methamphetamine, and one misdemeanor count of possession of OxyContin.

Assistant District Attorney Dan Itzen and Milani's public defender Kurt Infanger agreed Milani was a candidate for probation, even though the crimes could have resulted in a lengthy prison term.

"I've learned a lot from this," Milani told the court. "It was a wake-up call. I'm working hard to put my life in order."

Infanger said Milani has applied for admission to residential treatment programs, got a second job and a vehicle. These behaviors show that he's trying to turn his life around, Infanger said.

The case began in late February when Milani burglarized a house on Chestnut street and took three firearms including an AK-47, an Xbox and multiple games, an iPad, a security recorder and camera, a 32-inch Samsung television and a laptop computer, according to court records.

Police tracked him to a residence in Evansville where he was arrested.

Three other defendants associated with Milani in this case — Austin Goodfellow and his father Jamison Goodfellow, and Daniel Aksamit — pleaded guilty to misdemeanor counts at their initial appearances in Natrona County Circuit Court in early March.