Human rights activists in Egypt have welcomed a court order to stop the military from making female prisoners undergo virginity tests.
The BBC reports the case was brought by Samira Ibrahim, 25, following her arrest during a protest in Tahrir Square.
She accused the Egyptian army of forcing her to undergo a virginity test after she was arrested during a protest in Tahrir Square in March.
Human rights organisations say the Egyptian military has used the practice widely as a punishment.
"The court orders that the execution of the procedure of virginity tests on girls inside military prisons be stopped," judge Aly Fekry, head of Cairo administrative court said.
The ruling was greeted by cheers from hundreds of activists inside the courtroom.