Spoilers follow for tonight's episode of "Legends of Tomorrow":

Wentworth Miller will no longer be a series regular on "Legends of Tomorrow," as the actor has now reportedly signed a contract that will have him appear on "Legends of Tomorrow" and "The Flash," and potentially other DC TV series, in a recurring capacity.

RELATED: "Flash," "Arrow" EP Greg Berlanti Talks Increasing Diversity On & Off Screen

According to Deadline, Miller's initial contract for the series opened the door for his departure at the end of the first "Legends" season. "We always knew that he wouldn't be a permanent member of The Waverider," producer Greg Berlanti told the site.

Berlanti reportedly pitched Miller a new arrangement where his character would appear across various DC TV series -- a move he'd like to see for other characters in the shared universe: "In success we hope to continue with other characters finding their way across all the shows."

The announcement follows tonight's episode, which saw Miller's Len Snart sacrifice himself to save the team, and possibly defeat Vandal Savage. On the death, Berlanti said, "He is a guy who who was a villain at the beginning, finding the hero in him by the end."

RELATED: Time Gets Tricky in Latest "DC's Legends of Tomorrow" Photos

Of course, a time-hopping series like "Legends" leaves opportunities for a resurrection, or at least alternate versions of Miller's character -- but it's yet to be announced where Snart will appear next.

"Legends of Tomorrow" airs Thursdays at 8/7c on The CW.