Somali government troops backed by African Union forces have captured a key stronghold of al-Shabab Islamists, local officials say.
The regional governor told the BBC that he was in the centre of Barawe, about 200km (125 miles) south of Mogadishu.
The government now controls all the seaports along the coast of Somalia, blocking off supply lines.
The AU says al-Shabab, who had held the town for six years, used it as a base to launch attacks on the capital.
Residents said many of the al-Qaeda-aligned militants had begun withdrawing from the key port town on Friday.
"The situation is calm, the militiamen had fled before the forces reached the town," regional governor Abdukadir Mohamed Nur said.
Al-Shabab has lost control of several towns in the past month, but still controls large swathes of territory in rural areas.
The BBC's Emmanuel Igunza says the news is a significant blow to al-Shabab because they had used Barawe as a supply route for weapons and food and as a base for a lucrative charcoal business.
The loss of Barawe comes a month after al-Shabab's leader, Ahmed Abdi Godane, was killed by a US air strike near the town. US strikes have also targeted other senior militants in and around Barawe.
The group, which is estimated to have at least 5,000 fighters, wants to overthrow the UN-backed Somali government and has imposed a strict version of Sharia in areas under its control.
Last week, a woman was stoned to death in Barawe for alleged adultery.
Correspondents say al-Shabab tends to tactically withdraw from areas when faced with a large offensive, but leaves some fighters within the civilian population to launch attacks later.
Latest Stories
-
Champions of 2024 Inter-School Reading Quiz tour Mohammed Bin Rashid Library in Dubai
2 hours -
Mahama decouples Youth from Sports Ministry
2 hours -
President Mahama orders immediate suspension of state land transactions
2 hours -
Edward Bawa: NDC left $2.4bn energy debt, NPP aggravated the situation
2 hours -
Joint military police reinforcement deployed in Ejura
2 hours -
Fire guts 3 shops in Ho
2 hours -
Gunmen attack bus in Bolgatanga, leaving several injured
2 hours -
NDC supporters allegedly invade Bui Power Authority, call for staff removal
2 hours -
‘Cutting ministries is about sentiment, not savings’ – Bright Simmons analyses Mahama’s new Cabinet
2 hours -
Walker wants to ‘explore’ Man City exit – Guardiola
12 hours -
Ejura Sekyeredumase MP demands autopsy on resident who died in Police custody
13 hours -
Kusaas Diaspora Union launched to spearhead global unity, development
15 hours -
Bright Simmons: Mahama’s reduction of ministries to 23 amid calls for efficiency, cost-cutting
15 hours -
Maxwell Hanson seeks apology and compensation from Anim Addo over defamation claims
16 hours -
We listen, we don’t judge: What they don’t tell you about being an entrepreneur
16 hours