BEIRUT, Lebanon — The evacuation of civilians and fighters from the last rebel-held part of Aleppo concluded on Thursday after long delays because of frigid weather, putting all of Syria’s industrial capital back in the hands of President Bashar al-Assad’s forces for the first time since 2012.

The last buses carrying residents from eastern Aleppo left the city late Thursday night, according to the Syrian state news agency.

Tens of thousands of people have been removed from eastern Aleppo since Dec. 15. Before the last buses left on Thursday, the Red Cross said that 34,000 people had left the city, including 4,000 fighters who had left in their own vehicles the previous night.

A separate convoy was waiting to carry residents out of two pro-government villages in neighboring Idlib Province that have been surrounded by rebels for years. It was unclear late Thursday whether the convoy had completed its trip.