STURGIS, S.D. (AP) — A man has been sentenced to 40 years in prison in connection with the death of a 21-month-old Black Hawk boy.

Thomas Pentecost was sentenced Friday in court in Sturgis. He pleaded guilty in November to first-degree manslaughter in the death of Bentley James Bahr.

Prosecutors say Pentecost fatally injured the boy on April 9 while the boy's mother was attending school. The boy was declared brain dead two days later.

Meade County State's Attorney Kevin Krull said the state had sought a sentence of 50 years in prison.

Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.