The accused Pawan, a labourer, had tried to sexually assault the 8-year-old girl finding her alone at the terrace of her house, said SP (City) Shiv Shankar Yadav.
She, however, raised an alarm follwing which Pawan fled from the spot, said Yadav adding the accused was later arrested and is being questioned in connection with the case.
A case into the matter has been lodged and the girl has been admitted to the district hospital for medical examination, the report of which is awaited, said Yadav.