Protesters demanding an end to military rule in Egypt have clashed with police at Tahrir Square in Cairo.
At least 33 people have been killed since Saturday in the worst violence since the uprising that toppled President Hosni Mubarak.
Egypt's cabinet said it had resigned, as clashes raged for a third day.
"The government of Prime Minister Essam Sharaf has handed its resignation to the (ruling) Supreme Council of the Armed Forces," cabinet spokesman Mohammed Hegazy said in a statement carried by the official MENA news agency.
"Owing to the difficult circumstances the country is going through, the government will continue working" until the resignation is accepted, he said.
As darkness fell this evening, tens of thousands of people remained in Tahrir Square, the epicentre of the anti-Mubarak revolt in January and February.
Medical sources at Cairo's main morgue said 33 bodies had been received there since police moved in to disperse demonstrators on Saturday - most of them with bullet wounds.
Police attacked a makeshift hospital in the square after dawn this morning, but were driven back by protesters throwing chunks of concrete from smashed pavements.
Around 1,250 people have been wounded in the violence.
Army generals were initially feted for their part in easing Mr Mubarak out, but hostility to their rule has hardened since, especially over attempts to set new constitutional principles that would keep the military permanently beyond civilian control.
The violence has cast a shadow over the first round of voting in Egypt's staggered and complex election process, which starts on 28 November in Cairo and elsewhere.
The army says the polls will go ahead, but the unrest could deter voters in the capital.
Some Egyptians, including Islamists who expect to do well in the vote, say the ruling army council may be stirring insecurity to prolong its rule - a charge the military denies.
Political uncertainty has gripped Egypt since Mr Mubarak's fall, while sectarian clashes, labour unrest, gas pipeline sabotage and a gaping absence of tourists have paralysed the economy and prompted a widespread yearning for stability.