WandaVision spoilers follow.

Captain Marvel star Lashana Lynch recalls feeling "sad, but proud" when she learned that her character Maria Rambeau had died off-screen.

Anyone who's been following the Marvel movies knows that Thanos' snap lead to the disappearances of several main players, including Bucky Barnes/The Winter Soldier, and Doctor Strange.

Well, in WandaVision, it was tragically revealed – via her now-grown daughter Monica (Teyonah Parris) – that while Maria survived The Blip, she died of a terminal illness in the five years between Avengers: Infinity War and Avengers: Endgame.

captain marvel, lashana lynch
Marvel Studios

Related: WandaVision boss reveals cut Monica Rambeau scenes

While promoting the new James Bond movie No Time To Die, the actor sat down with Comicbook.com and was asked when she found out about the fictional death.

Fortunately, Lynch knew about it long before the first few episodes of the small-screen MCU spin-off landed online.

"Kevin Feige, who is the nicest guy, personally emailed me way before, I want to say, over a year, year-and-a-half-plus, before WandaVision aired and explained what was happening, how it was going to happen, when it was going to happen," she said remembering how the studio boss specifically stated that he didn't want her to find out through someone else. "There was a lot of care around that."

wandavision – teyonah parris as monica rambeau and elizabeth olsen as wanda maxmioff
Marvel Studios

Related: WandaVision boss explains major MCU character's death

"It was sad to read, but also, because I think Maria had such a massive impact on Captain Marvel and everyone loved her and really related to her, I felt good with the work that I did there and felt good that they were able to now continue her legacy in her daughter, which is amazing," Lynch added, referencing Monica, who's set to appear in Captain Marvel sequel The Marvels next year.

"The introduction to her powers in WandaVision is also amazing, so I feel genuinely proud. I'm just happy I knew and didn't find out online somewhere."

Captain Marvel is streaming on Disney+ and available on DVD, Blu-ray and digital download. Its sequel, The Marvels, has a release date of November 11, 2022.

Watch the MCU on Disney+
Disney+ Watch the MCU on Disney+
$10 at Disney+
Marvel Ms Marvel Funko Pop! Vinyl
Marvel Ms Marvel Funko Pop! Vinyl
Credit: Funko Pop!/Marvel
Marvel Studios: The Infinity Saga - Collector's Edition [Blu-ray, region-free]
Marvel Studios: The Infinity Saga - Collector's Edition [Blu-ray, region-free]
Captain Marvel (2019)
Marvel Studios Captain Marvel (2019)
Credit: Disney/Marvel
Avengers: Endgame [2019]
Marvel Studios Avengers: Endgame [2019]
SDCC 2019 EXC - Captain Marvel: Minn-Erva Pop! Vinyl Figure
Funko Pop! SDCC 2019 EXC - Captain Marvel: Minn-Erva Pop! Vinyl Figure
Now 25% Off
Marvel's Captain Marvel: The Art of the Movie
Marvel's Captain Marvel: The Art of the Movie
Now 26% Off
Credit: Marvel
Captain Marvel (Original Motion Picture Soundtrack) by Pinar Toprak
Hollywood Records Captain Marvel (Original Motion Picture Soundtrack) by Pinar Toprak
Credit: Hollywood Records
Captain Marvel Volume 1 by Kelly Sue DeConnick
Marvel Captain Marvel Volume 1 by Kelly Sue DeConnick
Now 25% Off
Captain Marvel Neon Suit Pop! Vinyl Figure
Funko Pop! Captain Marvel Neon Suit Pop! Vinyl Figure
Now 50% Off
Credit: Funko Pop!
Captain Marvel: Goose Flerken Pop! Vinyl Figure
Funko Pop! Captain Marvel: Goose Flerken Pop! Vinyl Figure
Credit: Funko Pop!