Turkey's flag was flying in Afrin on Sunday after its troops and Ankara-backed rebels chased out Kurdish militia forces to seize control of the Syrian city.
In a major victory for Ankara's two-month operation against the Kurdish People's Protection Units (YPG) in northern Syria, Turkish-led forces pushed into Afrin apparently unopposed, taking up positions across the city.
The advance came as Syria's civil war entered its eighth year this week with heavy fighting on two fronts - around Afrin and in the rebel enclave of Eastern Ghouta near Damascus.
Hundreds have been killed and thousands forced from their homes by the ferocious assault in Ghouta, where President Bashar Al Assad on Sunday visited troops fighting to retake the last rebel enclave close to the capital.
In Afrin, Turkish forces and their Syrian allies were seen in all neighbourhoods of the city after they made a lightning advance on Sunday.
Rebels fanned out across the city, giving victory signs and taking pictures with Turkish tanks parked outside official buildings.
The flags of Turkey and Syrian rebel groups were raised and a statue of Kurdish hero Kawa, a symbol of resistance against oppressors, was torn down.
Civilians fled the city and plumes of smoke rose into the sky as mines exploded.
Up to 250,000 civilians left in recent days after pro-Ankara fighters took the surrounding region and all but encircled the city. They travelled south to territory still held by the YPG or controlled by the Syrian regime.
President Recep Tayyip Erdogan announced that Turkish-backed fighters had taken control of the city centre and said a "large number" of Kurdish fighters had "fled with their tails between their legs".
The Turkish leader has said the operation could move on to other Kurdish-controlled areas of northern Syria.
"Our work is not finished... but terrorism is finished in Afrin," Turkish government spokesman Bekir Bozdag said.
Residents said it appeared that YPG units had withdrawn from the city without a fight.
But Kurdish authorities vowed to retake Afrin, one of three semi-autonomous Kurdish "cantons" in northern Syria.
"Resistance will continue until every inch of Afrin is liberated," authorities representing the Afrin canton said in a statement.
"In all of Afrin's sectors, our forces will become a permanent nightmare [for pro-Ankara fighters]," the statement said, promising "a switch from direct confrontation to hit-and-run attacks".
The Syrian Observatory for Human Rights, a Britain-based war monitor, says more than 280 civilians have been killed since the campaign began on January 20.
Ankara has denied the reports and said it takes the "utmost care" to avoid civilian casualties.
The Observatory said on Sunday that more than 1,500 Kurdish fighters had been killed since the start of the offensive, most of them in air strikes and artillery fire.
More than 400 pro-Ankara rebels have also been killed, it said. The Turkish military says 46 Turkish soldiers have died.
Turkey sees the YPG as a "terrorist" offshoot of the outlawed Kurdistan Workers' Party (PKK), which has waged a decades-long insurgency against the Turkish state.
But the Kurdish militia has also formed the backbone of a United States-backed alliance that successfully expelled ISIL from large parts of Syria.
On another front near Damascus, thousands of civilians continued to stream out of Eastern Ghouta for a fourth day as the regime's Russian-backed air and ground assault appeared to have eased up.
Regime fighters have retaken more than 80 per cent of the former rebel bastion since the offensive was launched on February 18, the Observatory says, slicing what remains into three pockets, each held by different rebel groups.
More than 1,400 civilians have been killed in the offensive and at least 65,000 civilians are reported to have fled the area in recent days.
Observatory head Rami Abdel Rahman said there had not been any air strikes on Sunday and only sporadic mortar fire into a southern pocket of the enclave held by the Faylaq Al Rahman rebel group.
"The area is awaiting the announcement of a deal between Faylaq Al Rahman and Russia on an evacuation of rebels to northern Syria," Mr Abdel Rahman said.
Mr Al Assad met with soldiers in Eastern Ghouta on Sunday, the presidency said, in the leader's first trip to the region in years.
Syria state television broadcast photos of the president dressed in a shirt and jacket surrounded by soldiers, some perched on a tank behind him, in an unspecified part of Eastern Ghouta.
Syria's conflict broke out in 2011 after protests against Mr Al Assad.
He has maintained his grip on power despite global calls to step down and outrage at the offensives he has waged to retake towns and cities from rebel fighters.