Gaddafi's Libya was typically described by western commentators as "a police state".