GILLETTE, Wyo. (AP) — A 22-year-old Wyoming man has been sentenced to 28 to 35 years in prison for shooting at two law enforcement officers with a high-powered rifle, hitting their vehicles.

Brandon Daly pleaded guilty to two counts of second-degree murder for shooting at a Campbell County sheriff's deputy and a Wyoming Highway Patrol trooper in May 2016 along Highway 59 about 20 miles north of Gillette. Daly's former girlfriend called law enforcement because he had been on the phone with her threatening to take his life.

Daly told investigators he fired at the officers to get them to shoot him.

Daly's defense attorney asked that he receive mental health treatment.

District Judge Thomas Rumpke recommended Daly be placed in the Intensive Treatment Unit.

More From K2 Radio