Mark Topping, prosecuting, said since his arrest the boy had been detained under the Mental Health Act in secure accommodation in the West Midlands area.
Autopsy results showed that bruises on several parts of the boy's body were self-inflicted and it was reported that the child had a mental disorder which had caused him to hurt himself.