“Gaddafi” had been working behind the scenes and laying the foundations for his political career, surrounded by a staff of lobbyists, ex-military and tribal leaders.