Egypt's administrative court on Tuesday suspended a justice ministry decree that allowed the military to arrest civilians, according to Agence France Presse.
After reviewing an appeal filed by 17 rights groups, the court decided against the controversial decree that was passed on June 13, said AFP.
The government's decision would have allowed military police and intelligence to arrest civilians, and caused outrage among activists and politicians, who compared it to imposing martial law, according to the Associated Press.
The groups appealing the decree said it created "extraordinary powers that have no basis in law" and represented "a blatant circumvention of the official end of the state of emergency," according to AFP.
More on GlobalPost: Mohammed Morsi, Muslim Brotherhood candidate, named president of Egypt
"The court has blocked the decision of the Minister of Justice that gave military and military intelligence officers powers of arrest," said Cairo administrative court Judge Ali Fikry, according to Reuters.
The decree would have given military personnel a right that only police officers had previously, said Ahram Online.
More on GlobalPost: Ahmed Shafiq leaves Egypt after losing election
The crimes which the decree would have applied to included "crimes and misdemeanors harmful to the government," "possession/use of explosives," "resisting orders issued by those in power or assaulting them," "destruction of public property or historic monuments," "strike-actions at institutions that serve the public interest or assaulting the right to work," and "intimidation and thuggery," said Ahram Online.
Egypt has installed Islamist Mohammed Morsi as its new president after months of unrest under the ruling military.
More on GlobalPost: Banking on Africa’s poor