The actor is returning to Broadway, which will make his continued series-regular role impossible.

Victor Garber's Legends time is coming to an end.

The series regular will exit The CW's DC Comics drama during its current third season as the actor plots his return to Broadway, The Hollywood Reporter has confirmed.

The CW and producers Warner Bros. Television declined comment.

Garber has been a regular on the Greg Berlanti and Marc Guggenheim drama since season one, first recurring on The Flash as Martin Stein/Firestorm before teaming with other Arrow-verse stars including Brandon Routh for the super-spinoff.

Garber will return to Broadway to star opposite Bernadette Peters in the Tony-winning revival of Hello, Dolly! He takes over the role from David Hyde Pierce (with Peters stepping in for Bette Midler.) Garber's first show is Jan. 20.

With Broadway in sight for January and production of Legends in Vancouver, doing both became impossible.

Garber's departure will be addressed in season three of Legends, though given the time-travel nature of the series, a return is not entirely out of the question.