CHEYENNE, Wyo. (AP) — A man charged in a fatal drug-related shooting in Cheyenne in 2012 could be sentenced to between four and five years under a deal with prosecutors.

Brian M. Sears appeared in court Monday to plead guilty to reckless endangerment and felony possession of marijuana. He had earlier pleaded not guilty to attempted second-degree murder but that charge was dropped.

Sears is accused of shooting and killing 22-year-old Connor Tarr after Tarr and a man named Cameron Scott stabbed him during a struggle in December 2012. Police say Sears then shot at Scott's car as the man was trying to get away.

A judge will decide later whether to agree to the four to five year sentence recommended by prosecutors.