The Maid of Steel teams up with a truly wonderful President of the United States in the first photo of Lynda Carter in her guest-starring role on "Supergirl."

RELATED: Former Wonder Woman Lynda Carter Confirmed for Major "Supergirl" Role

Shared via star Melissa Benoist's Instagram, the photo shows the former Wonder Woman standing next to the current Supergirl. "Met a wonderful woman today @reallyndacarter," Benoist wrote of the image.

"Having so much fun filming Supergirl on The CW with Melissa Benoist!" Carter added, sharing the photo on her Facebook page.

Carter is slated to appear in multiple episodes of the new CW series, starting with the third installment of the second season.

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 told reporters, including CBR News, at a press event this past March. "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.

In the first season of "Supergirl," Helen Slater -- the star of the 1984 "Supergirl" feature film -- played Eliza Danvers in multiple episodes. Dean Cain, who played Superman in 1990s TV series "Lois & Clark: The New Adventures of Superman," appeared as Dr. Jeremiah Danvers; and Laura Vandervoort, the Supergirl of "Smallville," played Indigo.

The second season of "Supergirl" is scheduled to premiere Oct. 10 on The CW, switching networks after a first season on CBS.