A US-backed alliance of Syrian fighters says it has taken full control of Raqqa, ending three years of rule in the city by so-called Islamic State.
Syrian Democratic Forces (SDF) spokesman Talal Sello said the fighting was over after a four-month assault.
Clearing operations were now under way to uncover any jihadist sleeper cells and remove landmines, he added.
However, a US military spokesman later said he could only confirm that about 90 percent of the city had been cleared.
Islamic State (IS) made Raqqa the headquarters of its self-styled "caliphate" in early 2014, implementing an extreme interpretation of Islamic law and using beheadings, crucifixions and torture to terrorise residents who opposed its rule.
The city also became home to thousands of jihadists from around the world who heeded a call to migrate there by IS leader Abu Bakr al-Baghdadi.
How did it unfold?
The SDF was formed by the Kurdish Popular Protection Units (YPG) militia two years ago along with a number of smaller, Arab factions. It says it is not aligned with Syrian President Bashar al-Assad or the rebels seeking to overthrow him.
With the help of US-led coalition air strikes, weapons and special forces, SDF fighters have driven IS out of more than 8,000 sqkm of territory.
Last November, they began a major operation to capture Raqqa. They slowly encircled the city before breaking through IS defences on the outskirts in June.
On Tuesday morning, the SDF cleared the last two major IS positions in Raqqa - the municipal stadium and the National Hospital.
Reuters reported that fighters raised the YPG flag inside the stadium, celebrated in the streets and chanted slogans from their vehicles.
Dozens of foreign militants were believed to have made their last stand in the stadium, while 22 were reportedly killed in the final attack on the hospital.
Up to 300 militants were thought to be holding out on Sunday, after Syrian jihadists and their families were evacuated along with 3500 civilians under a deal negotiated by the Raqqa Civil Council and local Arab tribal elders.
"Everything is finished in Raqqa, our forces have taken full control of Raqqa," Mr Sello told AFP news agency on Tuesday afternoon.
"The military operations in Raqqa have finished, but there are clearing operations now under way to uncover any sleeper cells there might be and remove mines."
Mr Sello said an official statement declaring victory in the city would be made soon.
However, the coalition would only say that the battle was "near its end", with spokesman Col Ryan Dillon estimating that about 100 militants were left in Raqqa.
Human cost
There has been a "staggering loss of civilian life" in Raqqa, according to UN war crimes investigators.
The Syrian Observatory for Human Rights, a UK-based monitoring group, reported on Tuesday that at least 3250 people had been killed in the past five months, among them 1130 civilians. Hundreds more were missing and might be buried under destroyed buildings, it said.
The anti-IS activist group, Raqqa is Being Slaughtered Silently, said more than 1873 civilians had been killed.
Activists said many of the civilian casualties were the result of the intense US-led air strikes that helped the SDF advance, though the coalition said it had adhered to strict targeting processes and procedures aimed to minimise risks to civilians.
IS militants also used civilians as human shields and shot those trying to flee.
The UN said last week that about 8000 people were still trapped in Raqqa, and that almost 270,000 civilians had been displaced since April.
Air strikes, shelling and clashes on the ground have also destroyed Raqqa's civilian infrastructure and homes. A local councillor recently estimated that at least half of the city was destroyed.
Islamic State still has a number of footholds, the largest of which runs along the Euphrates river valley in the south-eastern province of Deir al-Zour.
However, the SDF and Syrian government forces - which are backed by Russian air strikes and fighters from Lebanon's Hezbollah movement - have launched separate offensives in the province with the aim of taking control of a key crossing on the border with Iraq.
- BBC