David Cameron pledged help to bolster the police and army in Libya as he made an unannounced visit to the country.
The Prime Minister said Britain was ready to provide training and advice amid growing concern about the security situation in the region.
On a walkabout in the capital's famous Martyrs' Square, Mr Cameron was greeted by friendly locals.
More top news
The island of Kivalina in Alaska is quickly disappearing into the ocean, watched by its 400 residents, due to climate change.
German Chancellor Angela Merkel has called on fellow European nations to share the burden of the influx of migrants.
Satellite images have revealed the extent of the damage to the ancient Temple of Bel in Syria's Palmyra city by Islamic State jihadists.