Jude Law says while shooting Contagion, scientific experts working with the production warned that a similar pandemic to that in the film was coming.

While talking to GQ for a career overview video that posted Thursday, the actor discussed the 2011 thriller and what he was foretold would happen years before the novel coronavirus pandemic struck.

"There was absolutely the sense that this was going to happen," Law said. "The great scientists on set with us who had worked with Scott [Z. Burns] the writer and [director] Steven [Soderbergh] were very learned and experienced individuals who knew what to expect. And they all said to us that this was going to happen — and it was a case of when rather than if."

He continued, "The way they described it, which is exactly as it has happened, just made sense. What's scary is you learn in a set like that because you're being advised by experts, but it doesn't necessarily sit."

Law played Alan Krumwiede in the star-studded pandemic thriller.

The actor explained that he was terrified after making the film, but after a while, his fear subsided. "When 2020 started, and we heard about what was initially happening in China, what fast became apparent around the world, it rang alarm bells," he said. "Unfortunately, I wasn't hugely surprised."