The fact the department had to be dismantled to solve the issue indicates the bad actors had effectively taken over.
This is clearly a failure of leadership that dragged for way too long.
Those kind of personalities need to be punished early and decisively otherwise everything rots.