“It was joy when I moved in. I could finally relax,” says Abdulwahab Damdoum, surveying his luxurious new apartment overlooking the Mediterranean Sea, in the eastern Libyan city of Derna.

Just three years ago he was clinging in terror to the roof of a house as the world’s deadliest flood this century surged around him.

Now the 27-year-old port worker, his wife and two young daughters have been given a new, free, 300-sq-m home in a showcase development commissioned by a son of Khalifa Haftar, the warlord who controls eastern Libya.

It is part of a rapid $2bn (£1.5bn) rebuilding of Derna that the powerful Haftar family hope will serve as a model for development throughout Libya, increasing their influence across a country currently split between east and west, with rival governments in charge.

The money comes from the state coffers of the oil-rich country, allocated by its parliament. But there are no published records of how it has been spent, raising questions about accountability and possible corruption.

Damdoum, like many flood survivors, simply thanks the head of the Development and Reconstruction Fund, Belkacem Haftar, for what has been achieved since the early hours of 11 September 2023, when lashing rain from Storm Daniel burst two dams above Derna, sending a wall of water 7m (23 ft) high cascading down onto the sleeping city.

The exact death toll will probably never be known. Some estimates have been as high as 6,000, though 4,000 now seems a more likely figure. Many bodies are still unidentified.