Forces allied with Libya's unity government said Saturday they had recaptured the port in the jihadist bastion of Sirte, advancing rapidly against Islamic State group fighters encircled inside the city.
The fall of Sirte, the hometown of ousted dictator Muammar Gaddafi, would be a major setback for the extremists who have also lost territory in Syria and Iraq, where they have declared an Islamic "caliphate".
Apart from the port, the Libyan forces also retook residential areas in the east of Sirte, which for the past year has been the main IS base in the North African country, a spokesman for the forces, Rida Issa, told AFP.
The jihadists are now surrounded in a densely populated area of around five square kilometers (two square miles) inside Sirte where they are laying booby traps, he said.
Most of the city's residents have fled but some 30,000 remain, Issa said.
After a month-long operation to close in on Sirte, the rapid pace of the advance by forces allied to the Government of National Accord (GNA) who entered the city on Wednesday has surprised Libyan authorities.
"The battle wasn't as difficult as we thought it would be," one government official said. "Maybe we exaggerated their (IS's) numbers?"
The UN envoy to Libya, Martin Kobler, said Saturday on Twitter that he was "impressed" by the "rapid progress" of pro-GNA forces.
France also hailed the advance and called for all political factions to unite against IS.
- IS Sirte strength unclear -
But analysts have warned the city's fall would not spell the end of the jihadists in Libya, where they have fed on political and military divisions since the 2011 uprising that killed Gaddafi.
Foreign intelligence services estimate the extremist group has 5,000 fighters in the country, but its strength inside Sirte, which IS has held since June 2015, is unclear.
IS fighters tried to wrest back the port on Saturday in an attack that killed two members of the GNA forces, who repelled the assault.
A total of 137 pro-GNA forces have been killed and 500 wounded since the operation began on May 12, according to a medical official in the western city of Misrata.
Libya's unity government forces have fought fierce street battles with the jihadists around a sprawling Gaddafi-era conference center which once hosted international summits but now houses an IS command center.
An AFP correspondent at the scene reported heavy street fighting on Friday about two kilometers (one mile) from the Ouagadougou centre.
GNA forces used tanks, rocket launchers and artillery, the correspondent said, while the jihadists responded with machine guns, mortar rounds and sniper fire.
"We are fighting between houses, on the streets, and we won't back down before we eliminate them," said one GNA combatant, who declined to be named.
Warplanes have carried out air strikes around the conference center and other IS positions inside the city, according to social media accounts belonging to the anti-jihadist operation.
- 'American and British advisers' -
The operations command, on its Facebook page, said jihadist positions had been targeted by 150 air strikes since mid-May.
Formed under a UN-backed power-sharing deal agreed to by some Libyan lawmakers in December, the GNA has been working to assert its authority but has yet to receive the official endorsement of the country's recognized parliament.
The pro-GNA forces are mostly made up of militias from western cities, notably Misrata, and the guards of oil installations that IS has repeatedly tried to seize.
Emily Estelle, a North Africa and Middle East specialist with the Washington-based American Enterprise Institute, said an estimated 2,000 fighters, primarily well-equipped Misrata militiamen, were engaged in the Sirte operation.
The Misrata militiamen took part in the NATO-backed uprising five years ago against Gaddafi, who himself was found and killed outside Sirte.
According to Estelle, "American and British advisers on the ground are likely helping" the Misratans.
The forces allied with the GNA said on Thursday they expected to announce the liberation of Sirte in "two or three days", after thrusting into the city center.
"We're encouraged by the progress they're making," said US special envoy Brett McGurk, whose country has said it has small teams of special forces gathering intelligence in Libya.
GNA head Fayez al-Sarraj called Friday on "all military forces to unite in the face of our common enemy ... and to join the victorious forces".
But Ahmed al-Mesmari, a spokesman for forces loyal to a rival government based in the country's far east, described the GNA forces as "illegitimate militias, loyal to an illegitimate government".