“Legends of Tomorrow” has found its Stargirl!

Entertainment Weekly confirmed that the CW series tapped Sarah Grey to take on the role of Courtney Whitmore, a.k.a. Stargirl, in Season 2 of the "Arrow" — "The Flash" offshoot.

Stargirl will be introduced as part of Justice Society of America (JSA), whose members also include Rex Tyler/Hourman (Patrick J. Adams), Henry Heywood, Sr./Commander Steel (Matthew MacCaull), Amaya Jiwe/Vixen (Maisie Richardson-Sellers),  as well as Dr. Mid-Nite and Obsidian, who have yet to be cast.

Although not confirmed, John Wesley Shipp suggested in an interview with Variety last May that his new "The Flash" character — Jay Garrick — is also part of JSA.

"The fact that I'm now getting to morph into an entirely different character that is so important to the Justice Society of America, which also bleeds into 'Legends of Tomorrow' — he's such an important character to this whole world — it just opens up enormous possibilities for me as an actor going forward," Shipp said at the time.

As comic book fans know, Stargirl wields Starman's cosmic staff and wears the Cosmic Converter Belt, which gives her enhanced agility, durability, speed, stamina and strength, among many other skills.

IGN noted that Grey is the second actress to play Stargirl in live action. Britt Irvin portrayed the character in four episodes of “Smallville” in 2010 and 2011.

As revealed at the show's panel at San Diego Comic-Con last month, the Legends and the JSA will join forces to take down Season 2's Legion of Doom — a new gang of baddies composed by the Reverse-Flash/Eobard Thawne (Matt Letscher), Captain Cold/Leonard Snart (Wentworth Miller), Malcolm Merlyn/The Dark Archer (John Barrowman) and Damien Darhk (Neal McDonough).

Grey, who plays Amanda in the upcoming 2017 "Power Rangers" film, has also guest-starred on a number of TV series including A&E's "Bates Motel," the CW's "iZombie" and Fox's "Wayward Pines" and "Lucifer."

"Legends of Tomorrow" Season 2 premieres on Thursday, Oct. 13 at 8 p.m. on the CW.

'Legends of Tomorrow' Season 1 characters "Power Rangers" actress Sarah Grey has been cast as Stargirl in Season 2 of "Legends of Tomorrow." Photo: Legends of Tomorrow Facebook page/The CW