The Syrian military has claimed it has recaptured Yabroud, the last rebel stronghold near the Lebanese border.
Soldiers were going through the town to root out any remaining militants, the military said in a televised address.
Government forces and Lebanese fighters from the Hezbollah group have besieged the town for weeks, as part of a battle for control of key transport routes.
More than 100,000 have been killed in the three-year conflict between rebels and President Bashar al-Assad's forces.
The government launched an offensive in mid-November to oust rebel fighters from the Qalamoun mountains near the Lebanese border.