In Athens, they had 300 state owned slaves, typically scythians, who were responsible for enforcing laws, arresting and holding criminals, crowd control, and herding adult males into the ekkasia for assemblies. They had slaves because when they used local citizens, The athenians would either bribe or hire their own police force, which needless to say led to chaos and unrest.