07/24/2018 10:52 EDT

Activist Nicole Maines Is TV's 1st Transgender Superhero

The 20-year-old will star as Nia Nal in 'SuperGirl.'

BURBANK, Calif. — A transgender activist who won a discrimination lawsuit after her school refused to let her use the girls' bathroom will be TV's first transgender superhero.

Nicole Maines will star in The CW/Warner Bros.' "Supergirl" as Nia Nal, a.k.a. Dreamer. Producers describe her character as a "soulful young transgender woman with a fierce drive to protect others."

Mike Coppola via Getty Images
Nicole Maines walks onstage at the 'Supergirl' Special Video Presentation during Comic-Con International 2018 on July 21.

Maines gained national attention for her battle against her Orono, Maine school district over her right to use the girls' bathroom.

Maine's highest court ruled in 2014 that school officials violated state anti-discrimination law when they required her to use a staff restroom.

It was the first time a state high court concluded that a transgender person should use the bathroom of the gender with which they identify.