Egypt's military rulers imposed an overnight curfew around the defence ministry Friday after two people were killed, nearly 300 injured and 170 arrested in fierce clashes between troops and protesters.
The clashes erupted just three weeks ahead of Egypt's first presidential election since a popular uprising ousted president Hosni Mubarak last year.
Officials at Al-Zahra University hospital said they received two people who died in the skirmishes outside the ministry. A frontline medic group said they died of gunshot wounds.
The health ministry reported one death and said he was a conscript soldier.
At least 296 people were also hurt in the clashes, the health ministry said in a statement, including 131 treated in hospital.
"A curfew has been imposed in the Abbassiya square, around the defence ministry and the surrounding streets," said General Mukhtar al-Mulla, a member of the ruling Supreme Council of the Armed Forces (SCAF), in a television address.
The curfew will be in place from 11:00 pm (2100 GMT) until 7:00 am (0500 GMT) on Saturday morning, Mulla said, warning that the armed forces will "decisively confront" any attempt to violate the curfew.
"All legal measures will be taken against those involved in the Abbasiya events, or those inciting them," Mulla said.
The army arrested 170 people outside the defence ministry, military prosecution sources said, adding that they would order the detention of people accused of inciting the violence including some "big names."
Earlier on Friday, military police charged the protesters, chasing them down side streets near the ministry on foot and in military vehicles, firing birdshot and assault rifles into the air amid chaotic scenes.
The clashes began when some protesters threw rocks at the military police, prompting troops to respond with water cannon and later tear gas.
A blanket of thick smoke engulfed Abbassiya square, days after another round of deadly clashes in the area.
Bleeding protesters were ferried away by motorbike and ambulances rushed to the scene, an AFP reporter said. State television showed several soldiers wounded.
Military police, their shields in one hand, picked up rocks and hurled them back at protesters, who used metal sheets from construction sites to protect themselves.
A Belgian photographer with the English-language Egypt Independent was briefly arrested, a colleague, Nevine El Shabrawi, told AFP.
Signup to our newsletter and follow us on Facebook and Twitter!
The Al-Jazeera Misr satellite station said soldiers arrested a television crew from the January 25 channel, which is affiliated with the Muslim Brotherhood.
Several thousand secular and Islamist protesters had gathered in Abbassiya, some marching there from Cairo's Tahrir Square, to denounce the ruling military council.
The protest comes ahead of the landmark presidential polls amid fears by many Egyptians that the military rulers will renege on a pledge to hand power to civilian rule after the election and that the vote will be rigged.
"We are here to end SCAF rule. We don't trust them. SCAF is following Mubarak's example, and we want to protect the revolution," said Mohammed Badawi from Ismailiya, a member of the Coalition of Revolution Youth.
Another protester from the Nile Delta city of Mansura, Ahmed Gamal, said he feared the election will be "forged."
Friday's protest comes two days after deadly clashes in the Abbassiya neighbourhood which the health ministry said left at least nine people dead, though field medics say more died.
On Wednesday, unknown attackers stormed a sit-in near the defence ministry by supporters of Salafist politician Hazem Abu Ismail, after he was disqualified from the presidential race.
Other candidates include former Arab League chief Amr Mussa and Mubarak's last premier Ahmed Shafiq.
The powerful Muslim Brotherhood has fielded the head of its political arm Mohammed Mursi whose main Islamist rival is Abdel Moneim Abul Fotouh, a former Brotherhood member.
Around 2,000 protesters also gathered in central Alexandria on Friday, an AFP photographer said.
On Thursday, the SCAF vowed that the presidential election will be fair and moved to assure the public it will hand over power on schedule.
"We are committed to fair elections 100 percent. We don't have any candidates," said council member Major General Mohammed al-Assar.
But he also warned that "if anyone approaches (the defence ministry) they should hold themselves responsible."
The presidential election is scheduled for May 23 and 24 with a run-off for June 16 and 17 if there is no outright winner.
The military vowed it would transfer power to civilian rule before the end of June, or by May if there is a clear winner in the first round.