CAIRO — Egypt's new president backed down Saturday from his decision to remove the country's top prosecutor, keeping him in his post and sidestepping a potential clash with the country's powerful judiciary.
The two-day standoff between President Mohammed Morsi and Prosecutor General Abdel-Meguid Mahmoud escalated with a backlash from a powerful group of judges who said Morsi's move had infringed upon their authority.
The standoff, which both sides later described as a "misunderstanding," exposed the enduring strength of an establishment packed with holdovers from the days of former President Hosni Mubarak, and underlined Morsi's limitations in challenging long-standing institutions.
Some of those who had urged the dismissal of Mahmoud, in the post since Mubarak times, said Morsi's move was clumsily handled and appeared as political score-settling between Islamists and former regime officials.
Though Morsi's decision had considerable public support, it appeared similar to his move to restore the Islamist-dominated parliament to session despite a decree by the Supreme Constitutional Court, which dissolved it over election law violations. He backed down after an uproar over ignoring court rulings.
Morsi had ordered Mahmoud to step down Thursday in an apparent bid to appease public anger over the acquittals of former regime officials a day earlier accused of orchestrating violence against protesters last year.
Egyptian law protects the prosecutor general from being fired by the president. To overcome the constraints, Morsi asked Mahmoud to become ambassador to the Vatican.
But Mahmoud refused to be re-appointed and quickly defied Morsi's decision. Backed by a powerful club of judges that said the move was an infringement on the judiciary, he went to his office on Saturday in defiance.
Hours later, Mahmoud and members of the country's Supreme Judicial Council met with Morsi's advisers.
"I remain in my post. We resolved the problem amicably," Mahmoud told the Associated Press after the meeting. "We told him I wanted to stay and that there was a misunderstanding. He didn't object."
Morsi's vice president, Mahmoud Mekki, said initially the president wanted to protect the prosecutor general from public pressure and protests, and then cancelled the transfer to avoid "sedition."
He said the decision was initially made to avoid popular anger following the Wednesday acquittal of Mubarak loyalists over their alleged role in a turning point of the 2011 uprising, known as the "Battle of the Camel," when camels ridden by Mubarak supporters charged into an opposition crowd.
After the meeting with Morsi, hundreds of judges came out to congratulate Mahmoud at his office.