Having been found trespassers into Melkotian space, Captain Kirk and his companions are sent to die in a re-enactment of the gunfight at the O.K. Corral.
"Spectre of the Gun" is the sixth episode of the third season of the American science fiction television series Star Trek. Written by the series' former showrunner, Gene L. Coon (under the pseudonym of Lee Cronin), and directed by Vincent McEveety, it was first broadcast on October 25, 1968.