Members of the Syrian community in Libya celebrate in Tripoli on December 8, 2024, after Islamist-led rebels declared that they have taken Syria's capital. [AFP]

President Bashar al-Assad fled Syria as Islamist-led rebels swept into Damascus, triggering celebrations across the country and beyond at the end of his oppressive rule.

Crowds cheered in the streets of Damascus, where celebratory gunfire erupted as five decades of brutal Baath party rule came crashing to a dramatic end with Assad's flight from the capital on Sunday.

Russian news agencies said that Assad and his family were in Moscow, while rescuers on Monday searched the Syrian capital's notorious Sednaya prison for hidden underground cells holding detainees in secret.

Assad's government fell 11 days after the rebels began a surprise advance, more than 13 years after Assad's crackdown on anti-government protests ignited Syria's civil war -- which had become largely dormant until the rebel push.

"This victory, my brothers, is historic for the region," Abu Mohammed al-Jolani, leader of the Islamist Hayat Tahrir al-Sham group (HTS) that spearheaded the advance, said in an address at the landmark Umayyad Mosque in Damascus.

US President Joe Biden said Assad should be "held accountable" but called the nation's political upheaval a "historic opportunity" for Syrians to rebuild their country.

'Syria is ours'

Residents cheered in the streets as the rebel factions heralded the departure of "tyrant" Assad, saying: "We declare the city of Damascus free."

Celebratory gunfire sounded along with shouts of, "Syria is ours and not the Assad family's".

AFP correspondents saw dozens of men, women and children wandering through Assad's modern, spacious home whose rooms had been stripped bare.

"I can't believe I'm living this moment," tearful Damascus resident Amer Batha told AFP by phone.

"We've been waiting a long time for this day," he said.

The rebel factions on Telegram proclaimed the end to "50 years of oppression under Baath rule, and 13 years of crimes and tyranny and displacement".

It is, they said, "the start of a new era for Syria."

The foreign ministry of Assad's key backer Russia had announced earlier Sunday that Assad had resigned from the presidency and left Syria.

The head of war monitor the Syrian Observatory for Human Rights, Rami Abdel Rahman, told AFP: "Assad left Syria via Damascus International Airport before the army security forces left" the facility.

Later Sunday, a Kremlin source told Russian news agencies that Assad and his family had arrived in Moscow where they had been granted asylum "on humanitarian grounds".

Search for Damascus prisoners

Around the country, people toppled statues of Hafez al-Assad, Bashar al-Assad's father and the founder of the repressive government he inherited.

For the past 50 years in Syria, even the slightest suspicion of dissent could mean prison or death.

During their advance, the rebels said they had freed prisoners, including on Sunday at the Sednaya facility, notorious for the darkest abuses of Assad's era.

An intense search was underway at the jail Monday for "hidden underground cells, reportedly holding detainees", said the White Helmets rescue group which had dispatched emergency teams to the facility.

"The teams consist of search and rescue units, wall-breaching specialists, iron door-opening crews, trained dog units, and medical responders," the group said.

UN war crimes investigators urged those taking charge in the country to ensure the "atrocities" committed under Assad's rule are not repeated.

The end of Assad's rule came just hours after HTS said it had captured the strategic city of Homs.

Homs was the third major city seized by the rebels, who began their advance on November 27, the same day a ceasefire took place in neighbouring Lebanon between Israel and the Iran-backed Hezbollah movement.

Hezbollah had supported Assad during the long civil war but has been severely weakened by Israeli strikes.

Hezbollah forces "vacated their positions around Damascus", a source close to the group said Sunday.

HTS is rooted in the Syrian branch of Al-Qaeda but has sought to soften its image in recent years. It remains listed as a terrorist organisation by Western governments.

The commander of the US-backed, Kurdish-led Syrian Democratic Forces (SDF), which controls much of northeast Syria, hailed the fall of Assad's "authoritarian regime" as "historic".

A military council affiliated with the SDF clashed Sunday with Turkish-backed Syrian fighters in Syria's north, leaving 26 fighters from both sides dead, the Observatory said, as the Turkish-backed group launched an offensive on the Manbij area.

'We're going home'

The Observatory said Israel had struck government security buildings and weapons depots Sunday on the outskirts of Damascus, as well as in the eastern Deir Ezzor province.

Israeli Prime Minister Benjamin Netanyahu said the overthrow of Assad was a "historic day in the... Middle East" and the fall of a "central link in Iran's axis of evil".

The UN envoy for Syria said the country was at "a watershed moment".

Russia requested an emergency UN Security Council meeting in New York, which is set for 3:00 pm (2000 GMT) Monday, multiple diplomatic sources told AFP.

Turkey, which has historically backed the opposition, called for a "smooth transition".

Iran said it expected "friendly" ties with Syria to continue, even as its embassy in Damascus was vandalised.

Since the start of the rebel offensive, at least 910 people have been killed, mostly combatants but also including 138 civilians, the Observatory said.

Syria's war has killed more than 500,000 people, and forced half of the population to flee their homes.

Millions fled abroad.

"I can barely remember Syria," said Reda al-Khedr, who was only five years old when he and his mother escaped Syria's Homs in 2014.

"But now we're going to go home to a liberated Syria," he told AFP in Cairo.