It took three days to fill out the jury in the Justin Barkley trial, but now it appears that it was all for naught.

Tompkins County District Attorney Matthew Van Houten announced Friday morning that Barkley entered a guilty plea in County Court Thursday afternoon for the charges of manslaughter in the first-degree and menacing a police officer.

He was originally facing second-degree murder.

The charges stem from the 2016 incident in which Barkley shot and killed UPS Worker William Schumacher in the parking lot of the Ithaca Walmart and then proceeded to fire at officers as they pursued him.

As a requirement of the plea deal, Barkley will be sentenced to 25 years in state prison for manslaughter and 8 years for menacing a police officer.

Additionally, once his sentence is completed, a five-year term of post release supervision will be imposed and he has waived his right to appeal.

His sentencing is set for February 13.