(Riverton, Wyo.) – A plea agreement has been reached in the case against Patrick Duran, who was charged with attempted murder in a late May stabbing.

The state alleges that the 24-year-old Riverton man allegedly stabbed Stefan Bigmedicine three times in his side on May 26, and he was originally charged with second degree murder and aggravated assault battery. The second degree attempted murder charge carries with it a penalty of no less than 20 years in prison. The aggravated assault charge has a penalty of up to 10 years in prison and/or $10,000 in fines.

Per the plea agreement, Duran will plead no contest to the aggravated assault charge. For the plea, parties agree to a sentence of not more than 8 years in prison. The defense may argue for any sentence it deems appropriate. The attempted murder charge will be dismissed.

Duran will be ordered to pay restitution.

All parties have signed the agreement, but a date has not yet been set in Wyoming’s Ninth District Court for Duran to change his plea. He pleaded not guilty in early June.

For more background on the case, read this story.