While in the Roman Empire, the army performed a major purpose in delivering security. Roman troopers detached from their legions and posted amid civilians completed law enforcement jobs.[23] The Praetorian Guard, an elite army device which was mainly an Imperial bodyguard and intelligence-accumulating unit, could also act as a riot law enforcement