Longtime Arrowverse star Caity Lotz is set to make her television directorial debut with the upcoming fifth season of DC's Legends of Tomorrow.Lotz will sit in the director's chair for "Mortal Khanbat," the fifth episode of Legends of Tomorrow Season 5. The Mad Men alum took to Twitter to share a photo of the episode's script, which was written by Grainne Godfree and Mark Bruner.RELATED: Legends of Tomorrow: Brandon Routh, Courtney Ford Exit in Season 5

"Today is the first day of production for the first episode of television I will ever direct," Lotz wrote. "Can't even begin to express my gratitude to Phil [Klemmer] and the Legends writers, Greg Berlatine, CW and Warner Brothers for this opportunity. Now let's go do this!"

Lotz has been a member of The CW's DC TV family since 2013, when she boarded the second season of Arrow as Sara Lance/The Canary/White Canary. In 2016, she brought the character over to Legends of Tomorrow and has starred as one of the series' leading heroes ever since. Additionally, Lotz has made guest appearances in both The Flash and Supergirl. RELATED: The CW Not Planning to End More Arrowverse Shows Anytime Soon

Returning in 2020 on The CW, DC’s Legends of Tomorrow stars Caity Lotz, Dominic Purcell, Brandon Routh, Nick Zano, Maisie Richardson-Sellers, Tala Ashe, Matt Ryan, Jes Macallan and Courtney Ford.