According to the Indian Penal Code, Section 82, a child below the age of 7 years cannot be held criminally liable for any offence. A child above this age but below 12 years can be held criminally liable only if it can be proved that the child had the mental capacity to understand the nature of the crime.