The duo, Jaibhagwan and Abid, tried to rape the married woman here while she was working in a field. When she resisted, the duo hit her head with a heavy object and fled, police added.
After the woman gained consciousness, she rushed to inform her husband about the incident, following which they went to the police station to file a complaint.
Reportedly, the police earlier refused to take cognisance of the incident, and only after other villagers protested outside the police station, they filed a complaint.
"The duo have been arrested," station in-charge Avdesh Yadav said, adding that the woman has been sent to a hospital for a medical examination.