Instructions: In this task, you are given a text of many news articles seperated by special token "|||||". Your task is to summarize them.
Input: An Egyptian court has ordered a halt to forced virginity tests on female detainees in military prisons. 
  
 The case, which was decided on Tuesday, was filed by Samira Ibrahim, a woman who said the army forced her to undergo a virginity test in March after she was arrested during a protest in central Cairo's Tahrir Square. 
  
 Human-rights organisations say that there have been many other such tests by the military. 
  
 "The court orders that the execution of the procedure of virginity tests on girls inside military prisons be stopped," 
  
 Judge Aly Fekry, head of the Cairo Administrative court, said. 
  
 Al Jazeera's Jamal Elshayyal, reporting from Cairo, said the verdict was cheered by hundreds of people who had gathered inside the courtroom to hear the ruling read out. 
  
 "Today's verdict to ban any form of virginity test [in military prisons] will be seen by many as vindication for their criticism of the military over the past few months," our correspondent said. 
  
 "This is something that will draw more criticism to the Supreme Council of Armed Forces - not so much the military itself, but its leadership." 
  
 Army's defence 
  
  
  
 Hossam Bahgat, the director of the Egyptian Initiative for Personal Rights who acted for Ibrahim, welcomed the ruling as "good news". 
  
 He said much work was still needed, however, to ensure the criminal accountability of those who ordered and conducted the tests. 
  
 A top army official had justified the examinations, saying there were necessary to head off possible charges of rape. 
  
 Responding to the verdict, the head of military intelligence, Adel Mursi, said the ruling was "inapplicable" because there are no instructions to conduct these tests. 
  
 "There are absolutely no orders to conduct virginity tests. If someone conducts a virginity test, then it is an individual act and that person will be subject to a criminal investigation," Mursi said. 
  
 On January 3, one soldier is to face court martial in the case of the so-called virginity tests, charged with "public indecency and not following orders". 
  
 "The way the case is presented gives the impression that it was one rogue soldier acting alone," Bahgat told the AFP news agency. 
  
  
  
 "For this, he could get away with just a fine. We are working very hard to have the charge changed to one of sexual 
  
 assault. We will fight to have a proper investigation carried out," Bahgat said. 
  
 Lasting impact 
  
  
  
 In an emotional testimony posted on YouTube, Ibrahim, 25, recounted how she and other women were beaten, electrocuted and accused of being prostitutes. 
  
 She said the "virginity test" was conducted by a soldier in army fatigues in front of dozens of people. 
  
 "When I came out, I was destroyed physically, mentally and emotionally," she said. 
  
 On March 9, army officers violently cleared Cairo's Tahrir Square and held at least 18 women in detention. 
  
 Women said they were beaten, given electric shocks, subjected to strip searches while being photographed by male soldiers, then forced to submit to "virginity tests" and threatened with prostitution charges. 
  
 In May, an army general, speaking to CNN television on condition of anonymity, defended the practice. 
  
 "We didn't want them to say we had sexually assaulted or raped them, so we wanted to prove that they weren't virgins in the first place," he said. ||||| Story highlights Ruling involves military prisons and temporary detention, governemnt consultant says 
  
 Woman who says she was subjected to virginity test says justice has been served 
  
 "I will not give up my rights as a woman or a human being," Samira Ibrahim says 
  
 Women arrested during March protests say they were subjected to the examinations 
  
 An Egyptian administrative court issued an order Tuesday banning virginity tests for female detainees, months after several women alleged they were subjected to such examinations following a March protest in Cairo's Tahrir Square. 
  
 The ruling comes in the case of Samira Ibrahim, a 25-year-old marketing manager who took the country's military led-government to court in August, alleging she was among those subjected to the test after her arrest during the March 9 protest. She said she faced death threats after bringing the case. 
  
 "Justice has been served today," Ibrahim told CNN. "These tests are a crime and also do not comply with the constitution, which states equality between men and woman. I will not give up my rights as a woman or a human being." 
  
 Aly Hassan, a judicial consultant affiliated with Ministry of Justice, said the order only affects the use of such tests in military prisons and on women in temporary detention. 
  
 "Those tests are not considered a crime or else the file would be in the Criminal Court," Hassan said. "It's the circumstances of the alleged test that may be in question here." 
  
 In March, the human rights group Amnesty International reported that Egyptian troops beat, shocked and strip-searched women arrested during the protest in Cairo and forced them to submit to virginity tests. 
  
 Egyptian authorities initially denied requiring virginity tests, but in May, a senior general who asked not to be identified acknowledged the practice. 
  
 The general said the tests were performed as a safeguard against the women accusing authorities of sexual assault, and he defended the tests. 
  
 JUST WATCHED Beaten activist: 'There is no justice' Replay More Videos ... MUST WATCH Beaten activist: 'There is no justice' 04:54 
  
 JUST WATCHED Egyptian activist assaulted Replay More Videos ... MUST WATCH Egyptian activist assaulted 02:53 
  
 "The girls who were detained were not like your daughter or mine," the general told CNN at the time. "These were girls who had camped out in tents with male protesters in Tahrir Square, and we found in the tents Molotov cocktails and (drugs)." 
  
 But Ibrahim said her treatment clearly showed the tests were meant to "degrade the protesters." 
  
 "The military tortured me, labeled me a prostitute and humiliated me by forcing on me a virginity test conducted by a male doctor where my body was fully exposed while military soldiers watched," she said. 
  
 Another protester arrested in the March 9 protest, Salwa Hosseini, offered a similar account, according to an Amnesty International report on the allegations. 
  
 In addition to Ibrahim, a member of the No to Military Trials to Civilians group, Maha Mamoun, joined the legal action even though she was not subjected to a test, said Ahmed Ragab, an attorney with the Hisham Mubarak Law Center who handled Ibrahim's case. 
  
 Ragab said government lawyers initially denied that the tests were administered and the case was repeatedly delayed before Tuesday's ruling. |||||
Output:
A court in Egypt has brought an end to a military tactic used to humiliate women arrested during protests: Virginity tests are no longer allowed, report CNN and al-Jazeera. A 25-year-old woman sued after she got arrested in March and had to undergo the procedure in front of a room full of leering soldiers. An army general defended the tests at the time with this logic: "We didn't want them to say we had sexually assaulted or raped them, so we wanted to prove that they weren't virgins in the first place." A judge in Cairo sided with the woman, who said she had been "destroyed physically, mentally, and emotionally" by the procedure: "The court orders that the execution of the procedure of virginity tests on girls inside military prisons be stopped." One soldier faces a court-martial next month over the tests, with the military trying to pin the blame on rogue soldiers. The verdict comes as Egyptian women have taken a more active role in protests of late.