A plea agreement was reached Monday, Feb. 5, in the 2017 shooting death of a 27-year-old man in Red Wing's East End.

Charles Deonta Jones, 27, of Red Wing, pleaded guilty to counts of second-degree murder without intent and reckless discharge of a firearm in a municipality, both felonies. A host of other charges stemming from the incident, including additional second- and third-degree murder charges as well as second-degree manslaughter, will be dismissed under the agreement reached in Goodhue County District Court.

READ MORE: Allwine receives life sentence for killing wife, staging suicide | Driver pleads guilty in hit-and-run death of 10-year-old near Lake Mille Lacs

Jones admitted in court Monday to getting into an altercation with Dangelo William Masterjohn, whom Jones said he considered a friend, inside a Sanderson Street home in the early-morning hours of April 18, 2017. Jones said a loaded firearm he was holding discharged.

Masterjohn is said to have exited the residence with a single gunshot wound and traveled down Sanderson Street where his body was found on the ground by Red Wing police, according to the criminal complaint.

The last-minute plea agreement avoided a court trial scheduled to begin Monday. A previous trial date of December 2017 was pushed back because a witness in the case made a substantial change in testimony.

PREVIOUSLY: Red Wing murder suspect led Wis. deputy on 120-mph chase, charges say

Jones also has pending charges in Pierce County, where he was arrested at gunpoint April 18, 2017, after allegedly leading deputies there on a high-speed chase, according to court documents in Wisconsin.

Sentencing in the Goodhue County case is scheduled for May 9. Jones is being held without bail in the Goodhue County Adult Detention Center.