The accused lured the six year old child to a park offering him mangoes and fled the scene after committing the crime, police said adding that the locals brought the child home and later reported the matter to the police.
The child has been admitted to hospital for treatment while the accused has been detained, police added.
