FORT LAUDERDALE, Fla. (AP) — A 12-year-old accused of fatally beating his baby cousin after she interrupted a cartoon pleaded no contest Wednesday and was sentenced to a juvenile treatment center.

Assistant State Attorney Maria Schneider said the sentence could last 12 to 36 months, depending on his progress. If convicted as an adult, he could have faced life in prison.