The evacuation of 2,000 remaining rebels and their relatives, supervised by the United Nations, ended a three-year siege of the city by government forces in the country's civil war. Troops began sweeping the city for explosives, state media reported, soon after the last convoy of rebels departed Thursday for opposition-held territory in northern Syria, and civilians began returning to see what was left of their city.
Much of Homs fell to the rebels in 2011. Government forces engaged in a continuous bombardment of the city, killing hundreds of people and leaving thousands displaced.
The withdrawal is part of an arrangement reportedly mediated by Iran's ambassador to Syria. The agreement calls for humanitarian aid to be delivered to the rebel-held northern towns of Nubul and Zahraa, and the release of 70 rebels held in Aleppo and Latakia province prisons.