Syria's anti-regime forces entered the capital Damascus early Sunday ending the Bashar Assad regime's decadeslong rule.
The capture also overthrew the Baath Party, the Arab socialist group that had come to power in Syria in a 1963 coup.
The anti-regime forces also dealt a major blow to the influence of Russia and Iran in Syria in the heart of the region, allies who propped up Assad during critical periods in the conflict.
The armed groups said they had entered the capital with no sign of army deployments. Thousands of people in cars and on foot congregated at a main square waving and chanting "Freedom" from a half-century of Assad family rule, witnesses said.
People were seen walking inside the al-Rawda Presidential Palace, with some leaving carrying furniture from inside. Prisoners were also freed from a large jail on the outskirts of Damascus where the Syrian government detained thousands.
"We celebrate with the Syrian people the news of freeing our prisoners and releasing their chains," the anti-regime alliance said.
Iran's embassy was also stormed, Iran's English-language Press TV reported.
Hezbollah, which provided crucial support to Assad for years, withdrew all of its forces from Syria on Saturday as anti-regime factions approached the capital Damascus, two Lebanese security sources told Reuters on Sunday.
One of the sources said that the supervising forces that Hezbollah had deployed to Syria overnight between Thursday and Friday had been sent to oversee the pullback.
Syria's army command notified officers Sunday that Assad's rule had ended, a Syrian officer who was informed of the move told Reuters.
But the military later said it was continuing operations in the key cities of Hama and Homs and in the Deraa countryside.
Assad, who has not spoken in public since the sudden anti-regime advance a week ago, flew out of Damascus for an unknown destination earlier Sunday, two senior army officers told Reuters, as anti-regime forces said they had entered the capital with no sign of army deployments.
His whereabouts now – and those of his wife Asma and their children – remain unknown. The Russian Foreign Ministry said Assad had left office and departed the country after giving orders there be a peaceful handover of power.
The Syrian anti-regime coalition said it is continuing to work on completing the transfer of power in Syria to a transitional governing body with full executive powers.
"The great Syrian revolution has moved from the stage of struggle to overthrow the Assad regime to the struggle to build a Syria together that befits the sacrifices of its people," it added in a statement.
As Syrians expressed joy, Prime Minister Mohammad Ghazi al-Jalali called for free elections.
But that would require a smooth transition in a country with complex competing interests.
Jalali also said he had been in contact with anti-regime commander Abu Mohammed al-Golani to discuss managing the transitional period, marking a notable development in efforts to shape Syria's political future.
The collapse of Assad's rule followed a shift in the balance of power in the Middle East after many leaders of Lebanon's Iranian-backed Hezbollah group, a lynchpin of Assad's battlefield force, were killed by Israel over the past two months.
The road ahead is highly complex with a mosaic of groups pursuing conflicting agendas.
Türkiye-backed Syrian forces have taken control of some 80% of northern Syria's Manbij area and are close to victory against Kurdish forces there, a Turkish security source said.
Russian Foreign Minister Sergei Lavrov held talks with Geir Pedersen, the U.N. envoy for Syria, in Doha on Saturday when they discussed potential measures to stabilize the situation in Syria, the Interfax news agency reported on Sunday.
Syrians will have to cope with a full-scale civil war alone, Konstantin Kosachyov, deputy chairman of Russia's upper house of parliament said, while suggesting that Moscow was ready to support the Syrian people in certain circumstances.
Russia, a staunch Assad ally, intervened decisively in 2015 to help Assad during Syria's civil war. But with its military resources mostly tied down in Ukraine, Moscow's ability to influence the situation on the ground was far more limited this time round – despite maintaining two military facilities in Syria.
Syria's civil war, which erupted in 2011 as an uprising against Assad's rule, dragged in a string of outside powers and sent millions of refugees into neighboring states.
The frontlines were dormant for years. Then anti-regime groups suddenly burst into action, posing the biggest threat to Assad.
The pace of events has stunned some Arab capitals and raised fears of a new wave of regional instability.
It marks a turning point for Syria, shattered by years of war which has turned cities to rubble, killed hundreds of thousands of people, and forced millions abroad as refugees.
Stabilizing western areas of Syria captured in the advance will be key. Western governments, which have shunned the Assad-led state for years, must decide how to deal with a new administration in which HTS looks set to have influence.
The United States will continue to maintain its presence in eastern Syria and will take measures necessary to prevent a resurgence of the Islamic State (Daesh), Deputy Assistant Secretary of Defense for the Middle East Daniel Shapiro told the Manama Dialogue security conference in Bahrain's capital Sunday.
Before its defeat, Daesh imposed a reign of terror in large swathes of Syria and Iraq.
At a conference in Doha, the Turkish Foreign Minister Hakan Fidan said "terrorist organizations" must not be allowed to take advantage of the situation in Syria and called on everyone to act with caution.
HTS, which spearheaded the anti-regime advances across western Syria, is led by Abu Mohammed al-Golani. "The real question is how orderly will this transition be, and it seems quite clear that Golani is very eager for it to be an orderly one," said Joshua Landis, a Syria expert and Director of the Center for Middle East Studies at the University of Oklahoma.
Golani will not want a repeat of the chaos that swept Iraq after U.S.-led forces toppled Saddam Hussein in 2003. "They are going to have to rebuild ... they will need Europe and the U.S. to lift sanctions," Landis said.
In a conference in Manama, Anwar Gargash, the diplomatic advisor to the United Arab Emirates president, said a main concern for that country is "extremism and terrorism."
He said Syria is not out of the woods yet, adding that he did not know whether or not Assad was in the UAE.
Gargash blamed Assad's downfall on a failure of politics and said he had not used the "lifeline" offered to him by various Arab countries before, including the UAE.