BEIRUT/GENEVA - The Syrian army said on Thursday that it had retaken complete control of Aleppo after the last rebel fighters were evacuated from the city, handing President Bashar Assad his biggest victory of the war.
The army said it had brought "security and safety" to Aleppo, ending four years of rebel resistance in parts of the northern Syrian city.
The last group of rebels and their families holed up in a small eastern enclave were evacuated on Thursday, under a deal that gives the army and its allies full control of the city after years of fighting, Syrian state television said.
The announcement was made shortly after the last four buses carrying fighters left through the Ramousseh crossing. Western Aleppo erupted in celebratory gunfire seen on Syrian TV, which showed uniformed soldiers and civilians shouting slogans in support of Assad.
The Syrian government's recapture of Aleppo is a major turning point in the Syrian civil war with potentially powerful political repercussions.
It represents a momentous victory for President Bashar Assad and a crushing defeat for Syria's opposition which will struggle to forge a way forward.
The ancient city has been divided into rebel and government parts since 2012.
"Thanks to the blood of our heroic martyrs, the heroic deeds and sacrifices of our armed forces and the allied forces, and the steadfastness of our people, the General Command of the Army and the Armed Forces announces the return of security and stability to Aleppo," said the statement read by an army general.
The statement said the victory in Aleppo is a "strategic transformation and a turning point in the war on terrorism and a deadly blow to the terrorist project and its supporters."
It is a further incentive, it added, to go on fighting to "eradicate terrorism and restore security and stability to every span of the homeland."
Assad said earlier that retaking Aleppo was a victory shared with his Russian and Iranian allies.
In comments after meeting a senior Iranian delegation, Assad said his battlefield successes were a "basic step on the road to ending terrorism in the whole of Syria and creating the right circumstances for a solution to end the war."
Russia's air force conducted hundreds of raids that pulverised rebel-held parts of Aleppo while Iranian-backed militias, led by the Lebanese group Hezbollah, poured thousands of fighters into the city.
Defense Minister Sergei Shoigu said Russian air strikes in Syria had killed 35,000 rebel fighters and halted a chain of revolutions in the Middle East.
At least 34,000 people, both civilians and fighters, have been evacuated from east Aleppo in a week-long operation hampered by severe winter weather, the latest UN figures show. But the United Nations estimates that thousands more remain.
"The process for evacuation was traumatic, with crowding, and vulnerable people waiting for hours and exposed to sub-zero temperatures," UN spokesman Farhan Haq told reporters in New York.
The last evacuees left a tiny pocket that was all that remained of a rebel sector that covered nearly half the city before being besieged in the summer and hit by intense air strikes that reduced swathes of it to rubble. As the months of bombardment wore on, rescue and health services collapsed.
Thousands of refugees from Aleppo were taken to Idlib, arousing fears that the rebel-held city in northwestern Syria could be next. Assad has declared that the war is far from over and that his armed forces would march on other rebel-held areas.
A senior United Nations official warned of this eventuality. "Many of them have gone to Idlib, which could be in theory the next Aleppo," UN Special Envoy Staffan de Mistura said in Geneva.
He said a cessation of hostilities across Syria was vital if another battle like the bloody struggle for Aleppo was to be avoided.
Fighters and civilians were evacuated overnight and on Thursday from east Aleppo to opposition-held areas under an agreement between the warring sides, the International Committee of the Red Cross said.
"Most are heading towards camps, or to their relatives, or shelter locations," said Ahmad al-Dbis, a medical aid worker heading a team evacuating patients from Aleppo. "The humanitarian situation in northern Syria is very difficult, because the area is already densely populated since it has people displaced from all over Syria."
Those leaving Aleppo were not only going to Idlib, a city and province southwest of Aleppo, but to villages in the countryside in Aleppo province that lies west and north of the city and has also been heavily bombed.
Hundreds of other people were also evacuated from two villages besieged by rebels near Idlib and taken to government lines in Aleppo, part of the deal that has allowed insurgents to withdraw from the city carrying light weapons.
A rebel official said a heavy snow storm that hit northern Syria and the sheer numbers involved had delayed the evacuation.
"The numbers of civilians, their cars alongside and of course the weather all are making the evacuation slow," Munir al-Sayal, head of the political wing of Ahrar al Sham, said.