CAIRO Egyptian security forces fought opponents of army rule in Cairo for a fourth day on Monday and the United States, worried by the violence, urged the generals to respect human rights.
Medical sources said the death toll had risen to 13 since Friday. Hundreds have been wounded and scores detained.
Police and soldiers using batons and teargas drove stone-throwing protesters out of Cairo's Tahrir Square, hub of the uprising that ousted Hosni Mubarak in February, overnight.
Hundreds had returned to the square by morning after security forces retreated behind barricades in streets leading to parliament, the cabinet office and the Interior Ministry.
U.N. Secretary-General Ban Ki-moon condemned the "excessive" force used against the demonstrations that have widened a rift among Egyptians over the role of the army and cast a shadow over the country's first free election in decades.
An army general told a news conference "evil forces" wanted to sow chaos and soldiers had shown "self-restraint" despite provocation by those trying to burn down buildings and create discord between the army and the people.
Soldiers have been filmed beating protesters with batons even after they have fallen to the ground.
The violence broke out just after the second stage of a six-week election for Egypt's new parliament that starts a slow countdown to the army's return to barracks. The military has pledged to hand power to an elected president by July.
U.S. Secretary of State Hillary Clinton said she was "deeply concerned" about the violence and urged the security forces "to respect and protect the universal rights of all Egyptians".
In a statement to a nation which has received billions of dollars in U.S. military and other aid, she also called on protesters "to refrain from acts of violence".
An army source said 164 people had been detained. A security source said a 26-year-old man had died in custody, although the cause of death was not immediately clear.
State news agency MENA said the public prosecutor had detained 123 people accused of resisting the authorities, throwing rocks at the army and police, and setting fire to government buildings. The prosecutor had released 53 others.
"From the start of the revolution, the evil forces have wanted to drag Egypt into a chaos, putting army into confrontation with the people," General Adel Emara said, and those guarding state buildings had a right to self-defence.
"What is happening does not belong with the revolution and its pure youth, who never wanted to bring down this nation," he said, adding that troops had faced people wielding knives, petrol bombs and other weapons.
Many Egyptians want to focus on building democratic institutions, not street activism, but have nevertheless been shocked by the tactics of security forces in and around Tahrir.
A Reuters picture showed two soldiers dragging a woman lying on the ground by her shirt, exposing her underwear.
Asked about that incident, General Emara described it as an isolated incident that was being investigated. He also said the army had not given orders to forcefully clear Tahrir.
Protesters said they had seized four soldiers who had been part of the attacking force in the early hours of Monday.
"We quickly got the four into vehicles and drove them away from the square, otherwise they would have been beaten to a pulp by angry protesters who experienced the army's vicious attacks," said Sayyid Abu Ella, speaking by telephone from Tahrir.
Late on Sunday, protesters had hurled petrol bombs at lines of security forces and chanted "Down with Tantawi" a reference to Field Marshal Mohamed Hussein Tantawi who heads the army council and was Mubarak's defence minister for two decades.
Ban Ki-moon "is highly alarmed by the excessive use of force employed by the security forces against protesters, and calls for the transitional authorities to act with restraint and uphold human rights, including the right to peaceful protest", the U.N. Secretary-General's office said in a statement.
The violence has overshadowed the election that is set to give Islamists the biggest bloc in parliament.
The West, long friendly with Mubarak and other regional strongmen who kept a lid on Islamists, has watched warily as Islamist parties have swept elections in Morocco, Tunisia and now Egypt following this year's Arab uprisings.
Hard-core activists have camped in Tahrir since a protest against army rule on November 18 that was sparked by the army-backed cabinet's proposals to permanently shield the military from civilian oversight in the new constitution.
Tough security tactics against hot-headed youths also sparked a flare-up last month that killed 42 people.
Some activists asked protesters to stop hurling stones on Sunday, but they refused. Other activists handed over to the army people they said were making petrol bombs.
The violence has deepened the frustration of many Egyptians tired of months of unrest that has left the economy in tatters.
"There are people who wait for any problem and seek to amplify it ... The clashes won't stop. There are street children who found shelter in Tahrir," said Ali el-Nubi, a postal worker, adding the army should have managed the transition better.
(Additional reporting by JoAnne Allen in Washington, John O'Callaghan, Tamim Elyan, Shaimaa Fayed and Reuters Television; Writing by Edmund Blair; Editing by Alistair Lyon)