A Janesville man pleaded guilty Tuesday morning to a reduced homicide charge in connection with a shooting death outside a house party last January.

Corvasie S. Weaver, 25, of 613 W. Racine St., pleaded guilty to an amended charge of second-degree reckless homicide as part of a plea agreement.

Part of the agreement calls for Assistant District Attorney Mary Bricco to argue for no more than a total of 22 years in the prison system, which would be broken down to 12 years in prison and 10 years of extended supervision upon release.

Weaver was charged in the shooting death of James C. Chestnut III, 40, on Jan. 5, 2020, at Weaver’s home address.

Weaver and Chestnut appeared to have gotten into an argument, which led to the shooting, authorities said. A witness told police that Weaver had a gun and saw Chestnut run after the shots were fired, collapsing at the intersection of Racine and Cherry streets.

A bullet went through Chestnut’s lung and into his heart, killing him, a police official has said.

The fight at the party reportedly started over an argument about the party running out of alcohol.

Weaver’s sentencing hearing is scheduled for 1:15 p.m. April 7.