A British man who was arrested in Somalia earlier this month after suspected Islamist inmates tried to cut his throat, Somali authorities have said.
Anthony Thomas Cox, who had been working for a private security company in Mogadishu, suffered minor injuries after he was set upon by fellow prisoners said to be loyal to al Shabaab and the Islamic State.
Authorities said the attackers in Mogadishu Central Prison had tried to cut Mr Cox’s throat with razor blades but were foiled when guards intervened.
"As one of the suspects was about to cut his [Mr Cox’s] neck, we managed to stop him. He sustained a very minor cut. He is doing well," Abdikarim Ali Afra, the deputy governor of the prison, told the BBC’s Somali service.
Mr Cox was arrested at Mogadishu airport on January 19 as he was boarding an Ethiopian airlines flight to Addis Abada when security guards found tear gas canisters in his baggage.
He is to be charged with endangering the public by failing to disclose them.
However, it is unclear when he will stand trial and colleagues in the security sector in Mogadishu have expressed alarm that he is being held in the city’s central prison alongside hardened terrorists.
The Foreign and Commonwealth office said: “We are in contact with a British man who has been detained in Somalia and our staff are assisting his family.”
A security source in Mogadishu called it "worrying" that authorities had decided to hold Mr Cox in the prison, where many of the country’s most violent terrorist suspects are held.
"He is at real, serious risk," said a European security contractor in the country who asked not to be named.
Mogadishu airport lies in a heavily fortified zone of the Somali capital where most foreign embassies are located.
It has frequently been targeted by Al Shabaab terrorists and came under mortar attack by the group on January 1.
In January 2016 a Daallo airlines flight conducted an emergency landing at the airport after a bomb disguised as a laptop and smuggled on board by a passenger blew a hole in the fuselage.