Updated

A television comedy writer and producer for shows including "Cosby" and "In Living Color" has been sentenced in Indiana to 26 years in prison in the beating death of his wife.

Forty-nine-year-old John James "J.J." Paulsen was sentenced Friday in Hamilton Superior Court on charges of voluntary manslaughter, neglect of a dependent and moving a body from the scene of death.

Prosecutors had dropped a murder charge as part of a plea agreement.

Police say the body of Leanne Serrano-Paulsen was found hidden in the attic of their posh house in Carmel in April 2007. They say the couple's 16-month-old son, Christopher, was found unharmed in a crib.

Police has said Serrano-Paulsen previously called authorities after she was beaten by her husband.