Syrian rebels agreed to surrender a second besieged enclave in eastern Ghouta on Friday as their comrades in another insurgent pocket in the area continued their withdrawal after a month-long assault by the army.
It will leave only one remaining rebel pocket in eastern Ghouta - the city of Douma - and put Syrian President Bashar al-Assad on the brink of his biggest victory over the insurgents since driving them from Aleppo in December 2016.
His army's month-long attack on the biggest rebel enclave near Damascus splintered it into smaller besieged pockets, seized most of its area and, according to a war monitor, killed more than 1,600 people.
Insurgents in one of those pockets - the town of Harasta - began withdrawing in a convoy of buses for opposition territory in northwestern Syria on Thursday. More buses began to leave on Friday carrying fighters and their family members.
Syrian state television broadcast their departure. From behind a half-drawn curtain, a woman in a headscarf could be seen gazing out through a spiderweb of bullet holes and cracks in the window of a bus as it prepared to carry her into exile. A small child peered through another window.
Meanwhile, rebels in a second pocket around the towns of Arbin, Jobar, Zamalka and Ein Terma said they had also agreed to leave for the northwest with their families and any other civilians who did not wish to come back under Assad's rule.
People who wished to stay on would not face prosecution, said Wael Alwan, spokesman for the Failaq al-Rahman group there, adding that the group would also release captured government soldiers.
About 7,000 people would depart in the deal starting on Saturday morning, including fighters carrying light weapons, state TV reported.
But bombs still fell on Friday on the besieged city of Douma, from which thousands of people have fled into government territory in recent days.
After insurgents have surrendered the other two pockets, it will stand as the last battered and besieged rebel area in eastern Ghouta, itself the opposition's last major bastion near the capital.
The Syrian army's assault to recapture the area has been one of the most intense in the seven-year war.
It has been marked by tactics the army and its ally Russia have increasingly used to crush resistance - lay siege to an area, bombard it, launch a ground assault and finally offer the rebels and their families safe passage to the northwest.
After helping turn the tide of the war in Assad's favour with air power and military support since its intervention in 2015, Russia has increasingly cast itself as a peace-broker. Russian representatives have played a role in negotiating local ceasefires and evacuations.
Assad and his allies say their offensive in eastern Ghouta is necessary to end the rule of Islamist militants over the area's people, and to stop them shelling government areas.
Rebel rocket fire has killed scores of people during the army offensive on eastern Ghouta, state television has reported including in a strike that hit a market place on Tuesday.
A source in the Syrian Arab Red Crescent agency said four of its members, as well as other civilians, were injured on Friday by an explosion in Harasta. The war monitor, the Syrian Observatory for Human Rights, said the blast was caused by rebels detonating their arsenal before departing.
State television reported that 50 buses had left Harasta since Thursday, carrying over 2,800 people including more than 800 fighters.
In the rebel pocket in the southern part of eastern Ghouta, Failaq al-Rahman had announced its intention to negotiate on Thursday, when Alwan said a ceasefire had been agreed.
The Observatory said negotiators left the enclave late Friday morning as guns fell silent after air strikes and advances by pro-government forces had continued past the midnight ceasefire deadline.
State television broadcast footage of what it says was about 3,400 people leaving Douma on foot on Friday morning, carrying small children and belongings. Thousands of civilians have made the same journey over the past week, making their way to reception centres in government-held territory.
They were leaving behind them a blast-wrecked landscape of smashed concrete and twisted metal, where for weeks people have cowered in basements from the unrelenting bombardment.
Already besieged for years, people in eastern Ghouta have suffered acute shortages of food and medicine, and during the weeks-long battle they were often unable to leave their homes even to bury the dead.
The United Nations estimates more than 50,000 people have left besieged areas of eastern Ghouta in the past almost two weeks.
The Observatory estimates that in all, about 120,000 civilians have either left the enclave or remained in the towns of Kafr Batna and Saqba, which were re-taken by the government in the past eight days.