Ray Palmer/The Atom actor Brandon Routh announced his departure from DC's Legends of Tomorrow in August. Routh has now had his last day on set, which prompted him to share a series of photos alongside a heartfelt post.

The photos, which Routh posted on Instagram, show his "final day of filming" and some of the gifts given to him. Routh wrote, "I love you all & appreciate the 5 seasons we’ve spent together. It hasn’t always been easy, but I think that’s what makes it harder to leave—getting through the growing pains of the first few seasons has bonded us. And made the last three seasons a blast! I’ve never been at a job this long, so this is new for me. I think I will miss you all and the fun we’ve had making this silly show on the #Waverider—as much as I’ll miss bringing #RayPalmer to life. Love & blessings on a great finish to the season"

RELATED: Legends of Tomorrow: Dominic Purcell Says Goodbye to Brandon Routh

Routh will appear in the first part of Legends of Tomorrow Season 5 and the "Crisis on Infinite Earths" crossover, where he will play Kingdom Come Superman. What exactly Routh's departure means for Ray Palmer remains unknown at this time.

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.

KEEP READING: Legends of Tomorrow's Tala Ashe Welcomes Kingdom Come Superman to the Team