Lynda Carter's "Supergirl" role as the President of the United States is no secret, of course, but the synopsis for the October 24 episode, "Welcome to Earth" reveals exactly what's happening in her White House.

RELATED: Supergirl’s Lynda Carter Looked To Hillary Clinton As Inspiration for Her Role

Carter, who played Wonder Woman in the 1970s TV show of the same name, is slated to appear in multiple episodes as President Olivia Marsdin. In her first appearance, she faces a super-powered attack on the presidency while the conflict over alien rights escalates. As a result, Supergirl and the DEO are assigned to protect the President and investigate. Fans who couldn't wait to see Supergirl actress Melissa Benoist and Carter on-screen together should be in for a treat, as it would seem Madame President and her Kryptonian bodyguard whould have plenty of scenes together.

The full synopsis for “Welcome to Earth” is below.

An attack is made on the President (guest star Lynda Carter) as hot-button, alien vs. human rights issues heat up in National City. Supergirl (Melissa Benoist) and the DEO are assigned to protect the President and bring in the responsible party. Alex (Chyler Leigh) teams up with Detective Maggie Sawyer (Floriana Lima) to investigate the case while Kara searches for a recently escaped Mon-El (Chris Wood), who she fears may be the alien behind the assault.

Carter is just the latest DC veteran to cameo in "Supergirl." Helen Slater, who starred in the 1984 "Supergirl” film, appeared as Eliza Danvers in multiple episodes of the first season. Dean Cain, who played Superman in 1990s TV series “Lois & Clark: The New Adventures of Superman,” appeared as Dr. Jeremiah Danvers. Laura Vandervoort, who played Supergirl on the TV series “Smallville,” appeared as Indigo.

Carter’s casting is the payoff of previous plans revealed earlier this year by “Supergirl” executive producers Greg Berlanti and Andrew Kreisberg. “We had the perfect role for Lynda Carter, and we couldn’t work out her schedule,” Berlanti explained. “We’re going to do it, we’ll just do it next year,” Kreisberg added. “She’s the female president of the United States,” Berlanti then disclosed.

Starring Melissa Benoist as the Girl of Steel, “Supergirl” airs Mondays at 8 pm ET/PT on The CW. The series also stars David Harewood as Martian Manhunter, Mehcad Brooks as Jimmy Olsen, Chyler Leigh as Alex Danvers and Jeremy Jordan as Winn Schott and features appearances by Calista Flockhart’s Cat Grant as well as Tyler Hoechlin’s Superman.