Was it Thomas Aquinas? In his Summa Theologica he writes II-II-62-7:
...persons in authority who are bound to safeguard justice on earth, are bound to restitution, if by their neglect thieves prosper, because their salary is given to them in payment of their preserving justice...