The actress, who famously played the fan-favorite superheroine Wonder Woman in the eponymous 1970s TV series, has landed an exciting new role on the CBS show when it moves to The CW this fall).
Carter, 64, will play the President of the United States, who was mentioned in the season finale.
Supergirl‘s executive producers Greg Berlanti and Andrew Kreisberg previously revealed their plans to include Carter on the show back in March, saying they had the “perfect role” for the actress.
RELATED VIDEO: What Movie Made Supergirl Star Melissa Benoist Cry?!
The gig marks Carter’s first return to the small screen in three years – she last guest-starred on Two and a Half Men in 2013, playing herself.
Supergirl season 2 premieres Oct. 10 on The CW.