MOGADISHU - John Kerry made an unannounced visit to Somalia on Tuesday, the first US Secretary of State to visit the Horn of Africa nation that is struggling to rebuild after two decades of war and battling an Islamist insurgency by al Shabaab militants.
Kerry will meet Somali President Hassan Sheikh Mohamud, the prime minister, provincial leaders and civilian groups, US officials said, but they did not say where meetings would be held for security reasons.
Details of the trip were based on a dispatch from a reporter who was travelling with Kerry.
Somali officials were also kept in the dark, initially being told a lower ranking official was coming to the country where US troops supported a humanitarian mission in 1992 but suffered heavy losses when they were drawn into the conflict.
The trip "will send a strong signal to al Shabaab that we are not turning our backs on the Somali people and will continue to engage with Somalia until we bring al Shabaab terror to an end", a senior US State Department official told reporters.
The United States and Western nations pour aid into Somalia to help reconstruction and prevent it sliding back into the hands of al Shabaab, who still use territory they control to launch attacks there and on neighbouring states, such as Kenya.
Kerry will use the trip to thank the African Union peace-making force AMISOM for fighting al Shabaab. With the backing of US unmanned drone strikes, AMISOM and Somali troops have driven al Shabaab out of most of their strongholds.
In February, Washington named Katherine Dhanani as ambassador to Somalia. She is the first since the early 1990s, when the United States pulled out of the country as fighting between rival warlords plunged the nation into chaos.
The United States pulled its forces out of Somalia after the 1993 "Black Hawk Down" incident when a US helicopter was shot down over Mogadishu, killing 18 soldiers. At that time, it was the deadliest one-day incident since the Vietnam war.
Other Western nations, including Britain, have already opened embassies inside the airport perimeter, which is surrounded by heavy security. For now, Dhanani will travel to Somalia regularly from a base in Nairobi, an official said.
In a bid to shore up the government and expand its control, Somalia is due to hold a referendum on a new constitution and an election for its president in 2016. Diplomats say political bickering and government reshuffles have hindered that process.
Somalia's president was previously picked by lawmakers who were themselves nominated, not voted for, by their communities.
The State Department official said on Tuesday that Somalia was expected to hold "some form of election" in 2016. The official said the aim was to have a vote "different from what they've done before". "It has to be something that shows that they are moving forward in terms of a representative government."