what was it was

Exactly what was it was that the authors of the initial study discovered that took public imagination by storm?
– Assuming the author’s attempt at displaying her fine command of English proved successful, don’t you find the second ‘was’ one too many in the sentence?
Thank you.

Right, the second “was” should not be there.

I would say “the public imagination”.