A 54-year-old man accused of attempting to rape a girl in Gurgaon was arrested on Tuesday, police said.
The eight-year-old girl was sleeping with her parents when the accused, a resident of the same building, took her to his room, Gurgaon police PRO Subhas Bokan said.
Hearing the girl scream, her mother woke up and started looking for her.
She reached the room of the accused where she found him sexually harassing her, Mr Bokan said.
The accused managed to run but was arrested on Tuesday, he said.
He has been charged under the Protection of Children from Sexual Offences (POCSO) Act, the police said.