Egypt's Republican Guard has ordered protesters supporting and opposing President Mohammed Morsi to leave the area around the presidential palace that has been the site of fierce clashes.
The guard, an elite army unit, gave protesters on both sides until 3 p.m. ( 8 a.m. EST) to clear the vicinity.
At least five people were killed in fighting between Islamist supporters of Morsi and opponents calling on the leader to rescind decrees giving himself near-absolute power and cancel a disputed draft constitution that is to be put to a Dec. 15 referendum.
Thursday's ultimatum comes in an official statement that also announced a ban on protests outside any of the nation's presidential palaces.
Running street battles outside the Itihadiya palace in northern Cairo also left 644 people wounded, many from birdshot, the health ministry reported.
By Thursday morning, the Republican Guard, the division tasked with protecting the presidency, deployed tanks outside the palace. A few hundred Morsi supporters remained outside the complex after the opposition left.
Republican Guard chief General Mohammed Zaki said the tanks were deployed to separate warring protesters, and pledged that the military "will not be an instrument of oppression against protesters."
The opposition has said it would organise further marches to the palace as a top presidential aide accused them of co-ordinating with loyalists of deposed dictator Hosni Mubarak.
A senior presidential aide told AFP Mr. Morsi was expected to make a speech later in the day to reach out to the opposition. No time was announced for the address.
The stage was set for Wednesday's violence when Mr. Morsi's Muslim Brotherhood movement announced a march to the palace, where opposition protesters were staging a sit-in a day after tens of thousands surrounded the sprawling complex.
Protesters fired guns and threw firebombs and rocks at each other on Wednesday as their simmering stand-off over Mr. Morsi's expanded powers and a draft constitution turned violent.
Bloodied protesters were carried away as gunshots rang out and rival demonstrators torched cars and set off firecrackers near the palace, where Morsi opponents had put up tents before his supporters drove them away.
Riot police were eventually sent in, but clashes still took place in side streets near the palace in the upscale Heliopolis neighbourhood.
The opposition says it will not stand down until Mr. Morsi discards his new powers, which allow him to take decisions uncontested by the courts, and cancels the snap Dec. 15 referendum on a new constitution opposed by liberals and Christians.
Early on Thursday, intermittent gunshots rang out amid sporadic violence, an AFP correspondent said, before the tanks took up position.
The overnight violence also spread beyond the capital, with protesters torching Muslim Brotherhood offices in the Mediterranean port city of Ismailiya and in Suez, witnesses said.
The Brotherhood urged protesters on both sides to withdraw, as did Prime Minister Hisham Qandil.
"It's a civil war that will burn all of us," said Ahmed Fahmy, 27, as clashes raged behind him.
"They (Islamists) attacked us, broke up our tents, and I was beaten up," said Eman Ahmed, 47. "They accused us of being traitors."
Activists among the Islamist marchers harassed television crews, trying to prevent them from working, AFP reporters said.
Wael Ali, a 40-year-old Morsi supporter, said: "I'm here to defend democracy. The president was elected by the ballot box."
The United States called for an open and "democratic dialogue" in Egypt.
"The upheaval we are seeing ... indicates that dialogue is urgently needed. It needs to be two-way," U.S. Secretary of State Hillary Clinton said in comments echoed by Britain and the European Union.
Despite the protests, Vice-President Mahmud Mekki said a referendum on the charter "will go ahead on time" on Dec. 15.
The opposition would be allowed to put any objections to articles in the draft constitution in writing, to be discussed by a parliament yet to be elected.
Prominent opposition leader and former UN nuclear watchdog chief Mohamed ElBaradei said Mr. Morsi bore "full responsibility" for the violence.
He said the opposition was ready for dialogue but would use "any means necessary" to scupper the charter, stressing, however, that they would be peaceful.
Meanwhile, four Morsi advisers resigned over the crisis, official news agency MENA reported. The head of state television also resigned in protest, the independent newspaper Al-Masry al-Youm reported on its website.