Variety reports Law will star as Mar-Vell (Doctor Walter Lawson), described as “a mentor of sorts to [Carol] Danvers as she tries to figure out her new powers.” Last month it was reported that Marvel Studios was looking at Rogue One: A Star Wars Story star Ben Mendelsohn to play the antagonist of the film, which is expected to be — but not confirmed as — a Skrull leader.

Mar-Vell, aka the original Captain Marvel, is a member of the alien race the Kree. There were rumors that Mar-Vell would play a role in the film, with the script including the Psyche-Magnitron machine. The device, built by the Kree, has a number of uses, but perhaps its most important is the ability to bestow people with super powers. It shares a long, somewhat tangled history with Carol Danvers, and is responsible for her becoming a superhero in the first place; in the comics, the machine responded to her half-Kree DNA, tapped into a subconscious desire to become a superhero, and stole energy from Mar-Vell’s Nega Bands (special gauntlets that amplified and added to Mar-Vell’s inherent abilities) in order to transform her into a superhuman.