The FBI was notoriously rotten during the reign of J. Edgar Hoover, if not before.
It goes to show that one crappy person at the top can ruin the entire organization. i.e. Comey, Wray, Brennan et al.