(WBNG) -- Prosecutors say a suspect who was shot during a home burglary in early 2017 has pleaded guilty.
Kevin Roof of Binghamton pleaded guilty on Friday to a January 2017 burglary on Algerine Street in Afton, according to the Chenango County District Attorney's Office.
Roof also pleaded guilty to a separate robbery in Coventry, an assistant district attorney told 12 News.
Prosecutors say Roof will be sentenced to eight-and-a-half years in prison for the crimes. He will also be given five years of post-release supervision, according to the district attorney's office.
In January 2017, troopers responded to a home on Algerine Street following reports that a person had been shot during a burglary.
It was determined that Roof was shot during the incident. He was taken to Wilson Hospital and treated for non-life-threatening injuries.
James Fletcher of Greene was also arrested in connection to the incident.
Prosecutors say Fletcher pleaded guilty in July 2017 to second-degree attempted burglary and will be sentenced to three years in prison with five years of post-release supervision.