An Indian court has freed three men arrested earlier this year on suspicion of raping and murdering two girls found hanged outside their village.
Judge Anil Kumar Sharma ordered the men's release on Thursday after India's Central Bureau of Investigation said it did not have enough evidence to prosecute them.
Their release came days after two police officers held on suspicion of involvement in the case were freed on the same grounds, the AFP news agency reported.
The two cousins, aged 12 and 14, were found hanging from a tree in an impoverished village in northern Uttar Pradesh state in May.
The girls were reported at the time to have been gang-raped and murdered after going into the fields to relieve themselves because their homes, like most in their village in Badaun district, lacked lavatories.
The alleged attack sparked public outrage after the family complained that police had failed to take their case seriously because they came from a lower caste.
All five accused have now been released after spending 90 days in custody, the maximum time that a person can be held without being charged in India.
They were freed on a bond of $3,300 and on condition that they do not tamper with evidence or threaten witnesses for future court hearings.
Media reports said the investigators' decision was based on forensic tests and polygraphs that had ruled out sexual assault in the case.
Authorities however told AFP last week that the move did not mean that the men had been ruled out from the investigations.
India brought in tougher rape laws last year for crimes against women after the fatal gang-rape of a physiotherapy student on a bus in New Delhi in December 2012.