How did ancient Rome protect citizens

They had local prefectures around the town, the prefects wouldpatrol the streets and report crime to the authorities. There werelaws emdodied within the society and there were some prettyhorrendous punishments at times.