According to the police, the incident took place near a renowned public school in Mayur Vihar area of east Delhi yesterday when the woman was returning home.
The accused, identified as Shafiq, was taken to Pandav Nagar police station where a case of molestation and outraging modesty of a woman was lodged against him.
"Shafiq is a resident of Begusarai in Bihar and lived in East Delhi area for the last two years. His associate, who managed to flee from the spot, has been identified as Fantoos," said a police official.
Hearing the commotion, passersby also came to her aid. Seeing this, the duo tried to flee but the woman caught one of them, the official said.
He was then handed over to the police. Police have launched efforts to apprehend Fantoos who is absconding after the incident.