LOS ANGELES (AP) — Wonder Woman has signed on to play the president on “Supergirl.”

Lynda Carter has confirmed on her Twitter account reports of her casting as the commander in chief on the CW series.

READ MORE: Philadelphia Police Commissioner Danielle Outlaw Claims She's Not Resigning, Despite Rumors Saying She Might Become New York City's Top Cop

READ MORE: Gas Leak In Sellersville, Bucks County Home Leaves Woman Dead, Police Say

The 64-year-old former beauty queen is best known for her role as the title character on the 1970s series, “Wonder Woman.” In 2007, she guest starred on an episode of “Smallville,” the CW series chronicling Superman’s childhood.

“Supergirl” is moving to the CW this fall after CBS decided not to renew the series starring Melissa Benoist. Its season premiere is set for Oct. 10.

MORE NEWS: Mother Of 18-Year-Old Yahsinn Robinson, Killed Near Willingboro Home, Speaks Out Following Arrests Of 2 Men In Connection To Murder

(Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)