Egypt's Islamist President Mohamed Morsi assumed sweeping powers on Thursday, drawing criticism that he is seeking to become a "new pharaoh" and raising questions about the gains of last year's uprising which ousted Hosni Mubarak.
The move is a blow to the pro-democracy movement that toppled the long-time president, himself derided by many as a pharaoh, and raises concerns that Islamists will be further ensconced in power.
Opposition forces denounced the declaration as a "coup" and called for nationwide protests on Friday.
"The president can issue any decision or measure to protect the revolution," according to a decree read out on television by presidential spokesman Yasser Ali.
"The constitutional declarations, decisions and laws issued by the president are final and not subject to appeal."
"This is a coup against legitimacy... We are calling on all Egyptians to protest in all of Egypt's squares on Friday," said Sameh Ashour, head of the Lawyers syndicate, in a joint news conference with leading dissidents Mohamed ElBaradei and Amr Mussa.
They accused Morsi of "monopolising all three branches of government" and of overseeing "the total execution of the independence of the judiciary."
Nobel laureate and former UN atomic energy agency chief ElBaradei had earlier lashed out at the declaration, which would effectively put the president above judicial oversight.
"Morsi today usurped all state powers and appointed himself Egypt's new pharaoh. A major blow to the revolution that could have dire consequences," ElBaradei wrote on his Twitter account.
The head of the influential Judge's Club, Ahmed al-Zind, told a press conference that the judges would hold an emergency meeting on Saturday to decide on their next step, promising "actions, not words."
Morsi also sacked prosecutor general Abdel Meguid Mahmud, whom he failed to oust last month amid strong misgivings among the president's supporters about the failure to secure convictions of more members of the old regime.
He appointed Talaat Ibrahim Abdallah to replace Mahmud and, within minutes of the announcement, the new prosecutor was shown on television being sworn in.
Abdullah later issued a brief statement on state television, pledging to "work day and night to achieve the goals of the revolution."
In his pronouncement, the president also ordered "new investigations and retrials" in the cases dealing with the deaths of protesters, a decision that could net senior military officials and see Mubarak reinvestigated.
He also said no judicial body can dissolve the upper house of parliament or the Islamist-dominated constituent assembly that is writing a new constitution and which has been criticised by the secular-minded opposition for failing to represent all segments of society.
The declaration is aimed at "cleansing state institutions" and "destroying the infrastructure of the old regime," the president's spokesman said.
Ali said Morsi had issued a new law, which is yet to be ratified by the new parliament, calling for the creation of a "revolutionary prosecution" to investigate crimes related to the killing of protesters and to hold accountable anyone who withheld evidence in previous trials.
A senior official with the Justice and Freedom Party, the Muslim Brotherhood's political arm, said the move was necessary to guarantee the revolution was on course.
"We could not find any legal avenue to pinpoint and prosecute those in the ministry of interior who were responsible for killings," Gehad Haddad told AFP.
He said there had been a string of acquittals of interior ministry officials, evidence was withheld in cases, investigations had been weak and many had not been brought to trial over the killings of hundreds of protesters during and since the uprising -- a view that secular protesters would agree with.
"The avenues we are taking are born of necessity, not choice," he said.
Heba Morayef, Egypt Director at Human Rights Watch, welcomed the retrials but criticised aspects of the declaration.
"What's fundamentally problematic and threatens both the rule of law and overall democratic checks and balances is his decision to give his decrees immunity from the judiciary until the constitution is passed," Morayef told AFP.
"As a judge, I feel paralysed," one judge at Egypt's State Council told AFP.
Even before the announcement was read out, Islamists had gathered outside the High Court in central Cairo demanding the "cleansing of the judiciary."
They "will bring justice to the martyrs and will hold the corrupt accountable," said Mahmud Sultan.
But a few kilometres (miles) away, there were vocal denunciations of Morsi's declaration.
"We didn't have an uprising so that we put in place another dictator," said a furious Khaled Ali. "He's not just a pharaoh, he thinks he's God."
Morsi, who hails from the powerful Muslim Brotherhood, is the first president to be elected since Mubarak stepped down. He is also the country's first civilian head of state and the first Islamist to lead the Arab world's most populous country.