Georgia gubernatorial candidate and Democratic activist Stacey Abrams made a cameo in the last scene of the season finale of "Star Trek: Discovery" last week – portraying the president of the fictional United Earth. 

In the scene, Abrams is greeted as "Madam President" after stepping off her spaceship minutes before the credits roll and agrees to rejoin an interstellar alliance called The Federation. She also speaks to the show's main character, Capt. Michael Burnham (Sonequa Chaunté Martin-Green), telling her, "There’s a lot of work to do. Are you ready for that?"

When she was approached about the part in 2021, Abrams -- a longtime fan of the show -- asked the creators not to give her any spoilers outside of her cameo so she could still enjoy watching it, according to Variety. 

Stacey Abrams, Democratic gubernatorial candidate for Georgia, during a 'One Georgia Tour' campaign event in Atlanta, Georgia, U.S., on Monday, March 14, 2022. 

Stacey Abrams, Democratic gubernatorial candidate for Georgia, during a 'One Georgia Tour' campaign event in Atlanta, Georgia, U.S., on Monday, March 14, 2022.  (Getty Images)

STACEY ABRAMS GRILLED ON CNBC WHETHER GEORGIA GUBERNATORIAL RACE IS ‘STILL RIGGED’ FOLLOWING 2018 DEFEAT

In a video post about the show on Twitter, Abrams talked about her love for the show and said she would have taken any part "whatever the story was." 

Stacey abrams during Robert F Kennedy event gala in new york city

Stacey Abrams speaks onstage during the 2021 Robert F. Kennedy Human Rights Ripple of Hope Award Gala on Dec. 9, 2021, in New York City. (Getty Images)

The Democrat previously ran and lost to Gov. Brian Kemp in Georgia’s 2018 gubernatorial race. She has yet to concede the tight election. Kemp is also running for re-election this year. 

The cast of "Star Trek: Discovery" attends PaleyFest at the Paley Center for Media. 

The cast of "Star Trek: Discovery" attends PaleyFest at the Paley Center for Media.  (Getty Images)

Since her loss, she has become a national Democratic star and was given credit for helping bring Black voters in Georgia to the polls, which helped Democrats Jon Ossoff and Raphael Warnock win their special U.S. Senate elections in January 2021.   

CLICK HERE TO GET THE FOX NEWS APP

Abrams previously had a guest role on the show "Blackish," according to Variety