The head of the wider US intelligence community apparently felt it would not be possible for Gen Petraeus to discipline CIA staff accused of marital indiscretions, if he had shown himself fallible in the same regard.
BBC: Petraeus' downfall - a modern morality tale