Ammar Abdullah / Reuters Evacuees from rebel-held east Aleppo arrive at the town of al-Rashideen, which is held by insurgents, Syria.

Thousands were evacuated from the last rebel-held enclave of the city of Aleppo on Monday after a deal was reached to allow people to leave two besieged pro-government villages in nearby Idlib province.

Convoys of buses from eastern Aleppo reached rebel-held areas of countryside to the west of the city in cold winter weather, according to a U.N. official and the Syrian Observatory for Human Rights, a monitoring group.

At the same time, 10 buses left the Shi’ite Muslim villages of al-Foua and Kefraya, north of Idlib, for government lines in Aleppo, the sources said.

The recapture of Aleppo is Syrian President Bashar al-Assad’s biggest victory so far in the nearly six-year-old war, but the fighting is by no means over with large tracts of the country still under the control of insurgent and Islamist groups.

Turkish Foreign Minister Mevlut Cavusoglu said some 20,000 civilians had been evacuated from Aleppo so far.

The United Nations said nearly 50 children, some critically injured, were rescued from eastern Aleppo, where they had been trapped in an orphanage.

The evacuation of civilians, including wounded people, from the two villages had been demanded by the Syrian army and its allies before they would allow fighters and civilians trapped in Aleppo to depart. The stand-off halted the Aleppo evacuation over the weekend.

“Complex evacuations from East Aleppo and Foua & Kefraya now in full swing. More than 900 buses needed to evacuate all. We must not fail,” Jan Egeland, who chairs the United Nations aid task force in Syria, tweeted.

Abdalrhman Ismail / Reuters Rebel fighters and civilians gather as they wait to be evacuated from a rebel-held sector of eastern Aleppo, Syria.

INTENSE COLD, LONG WAIT

Ahmad al-Dbis, a medical aid worker heading a team evacuating patients from Aleppo, said 89 buses had left the city. “Some evacuees told us that a few children died from the long wait and the intense cold while they were waiting to evacuate,” he told Reuters.

For those still waiting to leave rebel-held Aleppo, conditions were grim, according to Aref al-Aref, a nurse and photographer there.

“I’m still in Aleppo. I’m waiting for them to evacuate the children and women first. It’s very cold and there’s hunger. It’s a long wait,” he told Reuters. “People are burning wood and clothes to keep warm in the streets.”

Photographs of people evacuated from Aleppo showed large groups of people standing or crouching with their belongings or loading sacks onto trucks before heading off to further destinations.

Children, dressed in winter clothes against the cold, carried small backpacks or played with kittens and one older man, in traditional Arab robes and headdress, sat holding a stick.

Later on Monday, the Security Council will vote in New York on a resolution to allow U.N. staff to monitor the evacuations. The draft resolution was the result of a compromise between Russia and France, and the United States said it was expected to pass unanimously.

Omar Sanadiki / Reuters People walk amid the rubble as they carry belongings that they collected from their houses in the government controlled area of Aleppo, Syria.

BUSES BURNED

On Sunday, some of the buses sent to al-Foua and Kefraya to carry evacuees out were attacked and torched by armed men, who shouted “God is greatest” and brandished their weapons in front of the burning vehicles, according to a video posted online.

That incident threatened to derail the evacuations, the result of intense negotiations between Russia - Assad’s main supporter - and Turkey, which backs some large rebel groups.

The foreign and defense ministers of Russia, Iran and Turkey will hold talks in Moscow on Tuesday aimed at giving fresh impetus for a solution in Aleppo.

At stake is the fate of thousands of people still stuck in the last rebel bastion in Aleppo after a series of sudden advances by the Syrian army and allied Shi’ite militias under an intense bombardment that pulverized large sections of the city.

They have been waiting for the chance to leave Aleppo since the ceasefire and evacuation deal was agreed late last Tuesday, but have been prevented from doing so during days of hold-ups. The weather in Aleppo has been wet and very cold and there is little shelter and few services in the tiny rebel zone.

In the square in Aleppo’s Sukari district, organizers gave every family a number to allow them access to buses.

“Everyone is waiting until they are evacuated. They just want to escape,” said Salah al Attar, a former teacher with his five children, wife and mother.

CAMP IN TURKEY

Thousands of people were evacuated on Thursday, the first to leave under the ceasefire deal that ends fighting in the city where violence erupted in 2012, a year after the start of conflict in other parts of Syria.

They were taken to rebel-held districts of the countryside west of Aleppo. Turkey has said Aleppo evacuees could also be housed in a camp to be constructed in Syria near the Turkish border to the north.

For four years the city was split between a rebel-held eastern sector and the government-held western districts. During the summer, the army and its allies managed to besiege the rebel sector before using intense bombardment and ground assaults to retake it in recent months.

A Reuters reporter who visited recaptured districts of Aleppo in recent days saw large swathes reduced to ruins, with rubble and other debris clogging the streets and sections of the famous Old City all but destroyed.

Assad is backed in the war by Russian air power and Shi’ite militias including Lebanon’s Hezbollah movement and Iraq’s Harakat al-Nujaba. The mostly Sunni rebels include groups supported by Turkey, the United States and Gulf monarchies.

East of Aleppo, several villages held by Islamic State have been captured by the Syrian Democratic Forces, a coalition of militias backed by the United States that includes a strong Kurdish contingent, the Observatory said.

The advance is part of a campaign backed by an international coalition to drive Islamic State from its Syrian capital of Raqqa.