MARSHALL, Ill. (AP) — An Indiana man who confessed to killing a woman in Illinois when he lived there five years ago has been sentenced to 37 years in prison.

Connor W. Scott learned his prison term Monday after being convicted of first-degree murder.

READ MORE: 'John Doe' Who Accused Former Blackhawks Video Coach Brad Aldrich Of Sexual Abuse Identifies Himself As Kyle Beach

Scott was charged in the Oct. 31, 2014, shooting death 20-year-old Kaylyn Whitaker of Terre Haute, Indiana, at Scott’s then-home in Martinsville, Illinois. WTHI-TV reports the two were in a relationship at the time.

READ MORE: Chicago Weather: Showers Coming Thursday

Whitaker’s death originally was considered a suicide, but police in Danville, Indiana, said Scott walked into the police station Feb. 24 and confessed to killing Whitaker.

MORE NEWS: View Live Radar

Copyright 2019 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.