ANNVILLE, Pa. (AP) — A Pennsylvania father about to stand trial on charges he tortured and starved his 12-year-old son before the boy died has pleaded guilty to several charges and was sentenced to life in prison without parole.

Scott Schollenberger Jr., 43, of Annville, pleaded guilty Thursday to charges that included criminal homicide, child endangerment and conspiracy for both counts. His trial had been scheduled to start on March 14.

Get daily news, weather, breaking news and alerts straight to your inbox! Sign up for the abc27 newsletters here

Schollenberger and his fiancée Kimberly Maurer, 36, were both accused in September 2020 of imprisoning his son in a darkened room for years, starving him and beating him while treating their other children well. Maurer remains jailed and is due to stand trial next month.

The charges against the couple stemmed from the death of Maxwell Schollenberger, whose body was found May 26, 2020. Authorities have said the boy was naked, and his feces-covered body was sprawled across a soiled bed in a room that was also caked with it.

The boy never received medical care, wasn’t enrolled in school, and was rarely seen even by his siblings, who lived in the same house with the couple, authorities have said. There were no lights in the boy’s room, and the window shades were closed with duct tape. Metal hooks kept the room locked from the outside.

Schollenberger and Maurer have other children together “who appeared to be healthy, well-adjusted and cared for,” investigators wrote in a report on the case. Those children received regular medical care and attended school, authorities have said.