An Egyptian administrative court has issued an order banning virginity tests for female detainees, months after furor over such examinations on women arrested following protests in Cairo's Tahrir Square.

The ruling comes in the case of a woman who sued Egypt's military led-government over the practice.

In March, the human rights group Amnesty International reported that Egyptian troops beat, shocked and strip-searched women arrested during a March 9 protest in Cairo and forced them to submit to virginity tests.