CAIRO – Egyptian courts on Sunday heard separate cases against former President Hosni Mubarak and top leaders of his arch-rival, the Muslim Brotherhood, both over allegations of killing protesters in separate instances.

Egyptian media portrayed the prosecution of longtime foes as “trials of the two regimes,” an attempt to show that both Islamists and secular-leaning Mubarak authoritarian regimes are alike after a July 3 military coup toppled President Mohammed Morsi, a Brotherhood member.

Weeks of mass rallies by Muslim Brotherhood supporters over Morsi’s ouster have weakened over the past days as security forces have detained many Brotherhood leaders. The military-backed government has responded by relaxing curfew hours, trying to signal a return to normalcy across the country.

“We have crossed the swamps and muddy pools, and now we are on the safe side,” Ahmed el-Musalamani, a spokesman for interim-president’s spokesman, said Sunday. “We have overcome the tough phase.”

At a heavily fortified courtroom in eastern Cairo, Mubarak looked relaxed in dark sunglasses and white clothes as he made his first court appearance since he was released from prison last week and transferred to a military hospital. The 85-year-old ex-president sat in a chair next to his two sons, who are being tried in a separate corruption-related case.

Mubarak has been in detention since April 2011. He was found guilty and sentenced to life in prison last year for failing to stop the killing of some 900 protesters in the 18-day 2011 uprising, but his sentence was overturned on appeal. In April, his retrial opened along with those of his security chief and six top police commanders. His trial has been postponed to Sept. 14.

In a separate hearing Sunday, top Brotherhood leader Mohammed Badie and five other members of the Islamist Brotherhood saw their hearings postponed until Oct. 29. The defendants, two of whom are still in hiding and being tried in absentia, face charges stemming from clashes outside the Brotherhood’s Cairo headquarters on June 30 that left nine dead. The four in detention were not present in the downtown Cairo courtroom for security reasons.