Samuel L. Jackson revealed that his upcoming role as Nick Fury in Captain Marvel has helped him figure out how Avengers 4 will end.

In an interview with Vulture, the actor said he didn't need spoilers or fan theories to discover how Captain Marvel will connect to the climax of Avengers 4. “Who’s really dead, and who’s really in the flaky wind of Marvel dust, I don’t know, but I do know there’s a solution that they didn’t even have to tell me, just because I know who Captain Marvel is and what all that means,” Jackson said.

RELATED: Infinity War Fan Theory Links Doctor Strange to Captain Marvel’s Return

Reprising his role as the former director of S.H.I.E.L.D. for a last-minute appearance in the mid-credits scene of Avengers: Infinity War, Fury used a pager to signal Captain Marvel for help before he turned to dust. With both Captain Marvel and Ant-Man and the Wasp taking place before the events of Infinity WarAvengers 4 directors Joe and Anthony Russo are making sure the end of the Marvel Cinematic Universe's Phase 3 is being kept a secret.

Ultimately, what Jackson knows and how important it is for Phase 3's swansong will have to wait until Captain Marvel hits theaters. However, if Jackson believes he has figured out how the film will affect the Avengers 4 finale, perhaps a few eagle-eyed fans can also deduce how the arrival of Carol Danvers can help Earth's Mightiest Heroes.

RELATED: Forget Infinity War, Hemsworth Says Avengers 4 is ‘Even More Shocking’

Directed by Anna Boden and Ryan Fleck from a script they wrote with Liz Flahive, Carly Mensch, Meg LeFauve, Nicole Perlman and Geneva Robertson-Dworet, Captain Marvel stars Brie Larson as Carol Danvers, Samuel L. Jackson as Nick Fury, Jude Law as Mar-Vell, Clark Gregg as Phil Coulson, Lee Pace as Ronan the Accuser, Djimon Hounsou as Korath the Pursuer, Gemma Chan as Minn-Erva, and Ben Mendelsohn, Lashana Lynch, Algenis Perez Soto, McKenna Grace and Annette Bening in as-yet-undisclosed roles. The film arrives March 8, 2019.