Egypt's new president Mohammed Mursi says he will seek talks with political forces and the judiciary to resolve the growing power struggle between military leaders and the Islamist-dominated parliament.

Mr Mursi says he will respect a court ruling that overturns his decree to convene the parliament, in defiance of an earlier military decision to dissolve the assembly and call fresh elections.

Mr Mursi says he is committed to the law and constitution and keen to prevent any confrontation with military or judicial authorities.

In an official statement, Mr Mursi said he would consult the various powers to find a solution.

"If yesterday's constitutional court ruling prevents parliament from fulfilling its responsibilities, we will respect that because we are a state of the law," the statement said, a day after the court froze Mr Mursi's decree.

"There will be consultations with (political) forces and institutions and the supreme council for legal authorities to pave a suitable way out of this," the statement added.

According to an interim constitution drafted by army generals, the military has assumed the parliament's powers until new elections are held, rendering the president's role as little more than symbolic.

Last week, Mr Mursi ordered parliament to convene in defiance of a military decision to disband the house in line with a court ruling last month, before the generals handed power to the president.

Mr Mursi's decree was applauded by supporters who believed the court's decision to disband parliament was political, but it set off a fire storm of criticism from opponents who accused him of overstepping his authority.

His decision was seen as an opening shot in a power struggle between Egypt's first civilian leader and the Mubarak-appointed generals who wanted to retain broad powers even after they transferred control on June 30.

Thousands of protesters rallied on Tuesday evening in Tahrir Square, hub of the 2011 revolution, in support of Mr Mursi and chanting "down with the military" and other slogans hostile to judges and allegedly anti-Islamist television anchors.