Four juveniles were apprehended in Uttar Pradesh's Shamli district for allegedly attempting to sodomise a 12-year-old boy, police said on Tuesday.
The accused are aged between 12 and 15, they said.
The victim was playing outside his house on Monday when the accused, his neighbours, asked him to come with them, the police said.
According to a complaint lodged by the victim's family, the accused took the boy to a vacant house and tried to sodomise him. They fled after the boy fell unconscious.
Later, the boy was found by his family, the police said.
A case was registered against the four juveniles and they were apprehended. They were sent to a juvenile home after medical examination, they said.