It came as a huge shock to many when the CW announced that Supergirl would end with its upcoming sixth season. Now, Nicole Maines, who plays Dreamer on the show, has said her goodbye to the series.Maines posted a lengthy farewell on Twitter, thanking fans for their support over the years. The caption for the post simply reads, "Thank you."RELATED: Supergirl's Melissa Benoist Promises 'One Helluva Final Season'

The full post reads,

"While I'm sad that this must come to an end, I am beyond happy and proud. I am proud that I have been privileged enough to be able to bring Nia Nal to life and to have been able to be a part of her evolution into Dreamer. She has meant so much to so many, and it has been my complete honor to get to play her for the past few years. And though she was created specifically for Supergirl, I think we can all agree we haven't seen the last of her, and I cannot wait to see where she pops up next.

On a personal note, I have to give my love and gratitude for everyone who made this experience what it has been. New jobs are always scary, but I couldn't have asked for a better set to walk on to. Right from the start, people were inviting and professional and kind, in large part due to the environment created by our Supergirl, Melissa.

Thank you to Greg and Sarah and Robert and Jessica for creating Nia and bringing me on board, and to every one of the cast and crew for welcoming me into your family, because at this point, you are more than my friends and I love you.

Gentleman, it has been a privilege playing with you tonight.

Thank you to Warner and DC and the CW for this show. It has inspired so many people and has breathed new life into so many of these heroes that a whole new generation got to fall in love with, myself included.

Finally, thank you to you all. Nia would not have been such a hit if you all didn't love her and support her the way that you have. This has truly been a dream(er) job. I cannot wait for you all to see what we have in store for you this season (it's going to be WILD DOT COM), and I cannot wait for us all to see what comes next. There will be more.

Trust me, I saw it in a Dream."

Returning to The CW in mid-2021 for its final season, Supergirl stars Melissa Benoist as Kara Danvers, David Harewood as Martian Manhunter, Chyler Leigh as Alex Danvers, Nicole Maines as Dreamer, Jesse Rath as Brainiac-5 and more.

KEEP READING: The CW's Supergirl to End With Season 6