In DC Comics lore, Maggie was introduced as a captain with the Metropolis Special Crimes Unit, which handled superpowered menaces. One of the first openly gay characters in mainstream comics, she has long been associated with Superman titles as a highly skilled member of the Science Police, a division of the police department that deals with metahumans.

On The CW’s Supergirl, as first reported by The Hollywood Reporter, Maggie will be a National City Police Department detective who takes a special interest in cases involving aliens.

Lima’s previous credits also include NBC’s Allegiance, Fox’s The Mob Doctor and the web series Poor Paul. Her Supergirl casting comes on the heels of the CBS transplant adding Cougar Town alum Ian Gomez as Snapper Carr, a journalist appointed by Cat (Calista Flockhart) to serve as the editor-in-chief of CatCo Magazine.

As also previously announced, Tyler Hoechlin (Teen Wolf) will guest-star in the first episodes of Season 2 as Superman, while TV’s erstwhile Wonder Woman, Lynda Carter, has been elected president of Supergirl‘s United States.