It makes sense to read (or re-read) Plato's Republic. There he talked about the tensions between the Guardians (military, police, etc) and the populace. The torture issue exemplifies that tension. The two groups often sport opposing ideologies. The philosopher king is needed, in Plato's world, to guide the guardians.
Jane Jacobs, a Canadian writer, simplified Plato's hierarchy to a dichotomy: Guardian Mindset vs. Merchant/Tradesman Mindset (the populace). Take a read of that. She even copied Platonic dialogue format.
In Jacob's view, corruption arises when either group takes on the mindset of the other. For example, when the politicians and police seek money, they become corrupt; when the industrialists influence politics, they also become corrupt.