BEIRUT -- Rebels pressed their guerrilla fight to topple Syria's regime deeper into the capital on Friday, ambushing troops and attacking police stations as thousands of terrified civilians fled to Lebanon and Iraq to escape some of the worst violence of the 16-month conflict.
The two-day death toll was more than 470 people, marking some of the deadliest days of the uprising.
The U.N. refugee agency said between 8,500 and 30,000 Syrians had entered Lebanon in the past 48 hours, and thousands of Iraqis have also returned home, a bitter trip for many who fled to Syria from their own country's civil war.
In Damascus, Syrian forces recaptured one battle-scarred neighborhood and proudly showed reporters the dead bodies of rebel fighters lying in rubble-strewn streets.
But rebels said they withdrew to expand their guerrilla war, pointing to the difficulty both sides will have in achieving victory in Damascus, the central bastion of President Bashar Assad's rule.
Fighting has flared across Syria this week, as battles have ravaged Damascus neighborhoods, death tolls have skyrocketed, border crossings have fallen to rebel fighters and a rebel bomb attack killed top members of Assad's regime.
Assad's national security chief, Gen. Hisham Ikhtiyar, died Friday from wounds sustained in the bombing Wednesday that killed three others, including the defense minister and Assad's brother-in-law. All were key to the government's efforts to stamp out the insurgency.
The fighting has shattered parts of Damascus, with rebels attacking at least two police stations and government troops pounding rebel districts with mortars, machine-guns and attack helicopters.
The clashes echoed those seen elsewhere in Syria, with lightly armed, disorganized rebels avoiding direct battles with better-equipped government troops while launching ambushes on their convoys and checkpoints.
The regime, for its part, has deployed overwhelming firepower, shelling from afar and sending attack helicopters that rebel weapons can't reach.
"We often make tactical retreats so that there is no face-to-face confrontation," a rebel named Mohammed from the Eagles of Damascus brigade said via Skype. "It's like gang warfare. We pull out so we can hit in a different place or plan an attack on a regime checkpoint."
Like most rebels, his group has only assault rifles and rocket-propelled grenades, but lacks long-range weapons, leaving them helpless against government shelling and helicopter strikes.
They also lack ammunition.
"If we had all the ammunition we needed, we would have liberated the capital in two days," he said, asking that his full name not be published for fear of government reprisals.
This dynamic defined the battle for Midan, a south Damascus neighborhood that regime forces retook Friday after days of intense clashes.
During a government tour of the area, an Associated Press reporter saw dozens of torched or damaged cars in streets lined with shattered shop fronts.
The dead bodies of six young men lay in the street. One appeared to have been shot in the chest. Others were bearded and wore black.
Syrian state TV trumpeted the government's taking of the neighborhood.
"Our heroic forces have completely cleansed the Midan area of the terrorist mercenaries," it said, using government shorthand for the rebels. It said the forces had seized lots of weapons, including machine-guns, explosive belts and rocket-propelled grenades.
A Damascus activist who gave his name as Huthayfa said via Skype that local fighters withdrew late Thursday because they could not face the army's heavy weapons.