Premiere Of Sony Pictures Classics' 'The Seagull' - Speaking SessionAnnette Bening, welcome to the Marvel Cinematic Universe!

The four-time Oscar-nominated actress is joining the cast of "Captain Marvel," according to The Hollywood Reporter. She'll star alongside Brie Larson, who plays the titular superhero -- Air Force Captain Carol Danvers. THR says Bening's top-secret role is that of a scientist.

Danvers gains her powers after an accident that exposes her to alien DNA. Perhaps Bening will help her figure out her new biology.

The movie, which is set in the '90s, brings back familiar faces like Samuel L. Jackson as Nick Fury, Clark Gregg as Phil Coulson, and Lee Pace as Ronan the Accuser. The cast also includes Jude Law, Ben Mendelsohn, and Gemma Chan. Anna Boden and Ryan Fleck ("Mississippi Grind") are directing.

Danvers has not been introduced in any of the Marvel movies, though there was a related tease in a post-credits scene after "Avengers: Infinity War."

Bening most recently starred in 2017's "Film Stars Don't Die in Liverpool" and can currently be seen in the upcoming "The Seagull."

"Captain Marvel" opens in theaters March 8, 2019.