The girl, a fifth standard student, had gone to answer nature's call behind a textile mill near her house when two workers followed her and sexually assaulted her, they said.
She returned home and narrated the incident to her paternal uncle who, along with some villagers, rushed to the spot and caught hold of one of the accused. The other man managed to escape, police said.
The girl's parents had passed away some time back.
One of the accused has been arrested on charges of sexually assaulting the minor girl. A search was on to nab the other.