Anatomy of a scandal foretold