During the Roman Empire, the army performed a major purpose in supplying stability. Roman soldiers detached from their legions and posted among the civilians carried out regulation enforcement duties.[23] The Praetorian Guard, an elite Military unit which was largely an Imperial bodyguard and intelligence-gathering device, could also act as a riot