There's a new sheriff in town, as Ray Palmer takes on the role of Wild West lawman in a CBR-exclusive clip from tonight's episode of "DC's Legends of Tomorrow."

LOOK: Jonah Hex Aids "DC's Legends of Tomorrow" in New Photos

Aided by his fellow Legends, Ray makes it clear that Salvation will no longer tolerate outlaws terrorizing its citizenry. But will their attempt to save the town wind up jeopardizing it instead?

When the team needs a place to hide out, Rip (Arthur Darvill) sets a course for the Old West. Upon arrival, they start a fight with a gang of outlaws, putting the small town in jeopardy. Luckily, an old friend of Rip's, Jonah Hex (guest star Johnathon Schaech), steps in to save them. Thor Freudenthal directed the episode with story by Greg Berlanti & Marc Guggenheim and teleplay by Marc Guggenheim (#111)

"DC's Legends of Tomorrow" airs Thursdays at 8 p.m. on The CW.