The possibilities are endless in a show about time-travel, and “DC’s Legends of Tomorrow” intends to take full advantage of its fantastical premise when The CW’s superhero spinoff series pays a visit to the Old West in the back half of its freshman season, where Variety has learned that our heroes will encounter the iconic DC Comics antihero Jonah Hex.

“Ever since we decided that ‘Legends’ would involve time travel, we were eager to do a story set in the Old West,” says executive producer Marc Guggenheim. “But if you’re going to do a story set in the DC Universe version of the Old West, you simply MUST include Jonah Hex in it. We’re thrilled about bringing another well known, beloved DC character to television.”

Jonah Hex is a bounty hunter who has a deep moral code despite his fearsome, scarred appearance. The character was created in the ’70s by writer John Albano and artist Tony DeZuniga, and was previously portrayed in live-action by Josh Brolin in the eponymous 2010 feature film, which became a box office bomb after grossing only $10.5 million domestically on a budget of $47 million. Hex was also featured in an animated short film, “DC Showcase: Jonah Hex,” directed by Joaquim Dos Santos and written by Joe R. Lansdale, in which he was voiced by Thomas Jane.

Casting for the role has yet to be announced, but he’ll make his debut in episode 11 of “Legends,” with the possibility of recurring.

“DC’s Legends of Tomorrow,” starring Victor Garber, Brandon Routh, Wentworth Miller, Caity Lotz, Arthur Darvill, Ciara Renée, Franz Drameh, Dominic Purcell and Falk Hentschel, premieres Thursday, January 21 at 8 p.m. on The CW.