(written from a Production point of view)
Captain Kirk, Mr. Spock, Dr. McCoy, Scotty, and Chekov are forced to re-enact the gunfight at the O.K. Corral in Tombstone as the team that lost the gunfight.
On a mission on behalf of the Federation to establish contact with the reclusive and xenophobic Melkotians, Captain Kirk decides to ignore the message of a space buoy warning the Enterprise to immediately withdraw from Melkotian space and go back the way it came. It speaks this warning in Vulcan, English, Russian, and Swahili, which Spock, Kirk, Chekov, and Uhura hear in their own individual languages. Kirk orders Uhura to further contact the Melkotians, but there is no response to his hails.
When Spock, Kirk, Scott, Doctor McCoy, and Ensign Chekov beam down to Melkot, they materialize in a fog bank not recorded by sensors. Their tricorders and communicators do not function. The landing party encounters a Melkotian. The Melkotian emerges from the fog tells the Enterprise officers that their warning was plain, they have disregarded it, and will now be punished.
The Melkotian informs them that they are "outside" – a disease that must be destroyed. They learn that their trespassing is to be punished by death and how they will die will be taken from Kirk's mind, since it was he who ordered that the Melkotians' warning be disregarded. The Malkotian tells Kirk that "yours shall be the pattern of your death."
The landing party suddenly finds itself teleported to a facade of an 19th century American frontier town. All of their equipment is gone, and instead each now has a gunbelt and a revolver. They observe the curious "incompleteness" of the town. Buildings with only a front wall, open to the air on the sides and back, signs and clocks hanging in mid-air. Kirk reads from a copy of the Tombstone Epitaph, a newspaper with the date of October 26th, 1881. Kirk wonders "Why here? And why now?". Spock notes that the time and place is based on the patterns of Kirk's memories. A man with a sheriff's badge greets them, acting as though he knew them well. He refers to Kirk as Ike, Spock as Frank, Scott as Billy, and McCoy as Tom. Recognizing the sheriff's name, Johnny Behan, Kirk quickly puts the names together. Ike Clanton, Frank McLowery, Tom McLowery, Billy Claiborne and Billy Clanton. He further recalls that the Clantons were one of the factions who fought for control of the town of Tombstone; the other being the Earps: Wyatt, Morgan, and Virgil, who were the town marshals, as well as "Doc" Holliday. Spock notes that the famous gunfight of O.K. Corral took place on October 26, 1881 and that the Clantons lost. Kirk warns that the antique guns they all are carrying can be as deadly as phasers at close range.
They witness the shooting of a bar patron by Morgan Earp, and conclude that death is one thing that is real in this surreal scenario. Inside the bar, Chekov is accosted by a woman named Sylvia who claims to know him as Billy. Kirk recognizes Morgan as the man who kills on sight, and rises to confront him. Spock cautions him to back down, without moving a muscle, as he would be quickly gunned down in a "fast draw." Kirk says he does not want any trouble from Earp, but Earp says he will get them to draw soon enough, and then leaves.
Kirk and Spock discuss what is expected to happen based on history, that they are supposed to be killed at the OK Corral at 5 pm. Kirk says that they will not be there. Kirk tries to convince Ed the bartender vehemently that he is not Ike Clanton, that he and his group are from the future, Kirk is the captain of a starship, but to no avail. The bartender tells him it makes no difference who he thinks he his, but rather whom the Earps think he is, while walking away still laughing.
Kirk then attempts to make peace with the Earps, saying there is a mistake. Virgil Earp says that he always felt the Clantons were "yellow" and then hits Kirk. Kirk strikes him back, which Wyatt Earp then draws on Kirk, but Virgil stops him. Wyatt Earp warns Kirk that if he is in town at 5:01pm, the Earps will kill them.
Kirk returns to the bar, and discusses what options they have with Spock, McCoy and Scotty. Kirk and the landing party try to leave town, but they are stopped by a force field. Spock notes that the Melkotians will not allow them to leave. Recognizing that they must fight, Kirk asks if they can find some way to stop the Earps using materials at hand in this recreation of Tombstone. McCoy and Spock cooperate to build a tranquilizer gas grenade which will incapacitate the Earps. McCoy encounters the town dentist, "Doc" Holliday, while acquiring the chemicals needed for the tranquilizer, asking to borrow a small quantity for a serious emergency. Holliday tells McCoy that his "emergency sure is real," and lets him take the chemical, but warns him to be finished by 5:00pm, because at "one minute past five, you'll find a hole in your head."
Meanwhile, Chekov has fallen in love with Sylvia, telling her that he is looking eagerly forward to the dance next week. Sylvia asks if they can turn the dance into a wedding ball, but Chekov says that would not be possible, because he is not someone she could marry. The two share a passionate kiss, but then Morgan Earp appears and knocks Chekov down, and starts to walk Sylvia away. When Chekov gets up and tells Morgan to get his hands off of her, Chekov draws for his gun, then he is shot and killed by Morgan. Kirk, Spock, McCoy, and Scotty appear as do the Earps. McCoy examines Chekov and tells Kirk that there is nothing he can do. Wyatt tells Kirk to "do it now," and Scotty says that they must do something. Kirk however says that it's not yet time and they are not prepared.
Back in bar, McCoy and Spock work on the gas grenade. McCoy and Scotty give Spock a hard time for not showing any feelings over Chekov's death, as Scotty points out, he and Chekov worked closely together on the Enterprise. Kirk asks the two of them to stop but Spock notes that they forget he is half-human. Spock observes that Chekov as Billy Claiborne died, but in at the actual gunfight at the OK Corral, Billy survived. Kirk takes it to mean that the outcome of the conflict does not necessarily correspond with the historical outcome.
Kirk finds the sheriff and asks him to stop the fight, but Behan says that no one wants to stop the fight, and that it is a little late for Kirk to decide he "does not have the belly" for it. The sheriff tells Kirk that the people in the town are counting on Kirk to get rid of the Earps for them, and that no one would deny them their revenge for killing Billy. Kirk angrily says they just can't just kill them, but the sheriff says that there will be no questions asked as Kirk puts his hands around his neck. Upon seeing he will get no help from the sheriff, Kirk walks away.
With time running out, Scotty volunteers to test McCoy and Spock's gas grenade. Despite McCoy and Spock's careful preparation, it does not work, even when Scotty deeply inhales it. Spock finally realizes that nothing around them is real and that the entire scenario has been taking place in their minds.
Kirk vows not to leave the bar until "well after 5 o'clock", but suddenly finds himself and the others teleported to the O.K. Corral where they cannot leave either, as it is surrounded by force fields.
The corral is encircled by a force field so that escape is impossible. Spock tries to convince the others that if they recognize that the situation is not real, they will not die and Kirk observes that the "smallest doubt" would be enough to kill them, just as it had killed Chekov. McCoy argues that they don't have that "clockwork ticker" in their heads like Spock, that they can't just turn it off and on at will. Kirk says that they must. Using a mind meld, Spock is able to convince everyone else that the bullets are not real, they are merely "shadows" and "illusions," "spectres without body... to be ignored."
The Earps arrive and demand that the ersatz Clantons draw, but the landing party refuses. The Earps begin shooting when Kirk reaches for his gun, but the bullets harmlessly pass right through the landing party, hitting the fence behind them. When the Earps deplete their ammunition, Kirk attacks Wyatt Earp and knocks him to the ground. Kirk draws his gun, and is about to shoot him, but upon seeing the abject terror in Wyatt's eyes, he releases him.
Suddenly, the landing party finds themselves back on the bridge of the Enterprise. Chekov is alive and well, sitting at his station, and wonders "where have I been?" Kirk suggests they have been on the bridge the whole time, and that Chekov survived because the only thing that was real to him was the girl. The Melkotian buoy, once again directly in front of them, begins to emit M-rays beyond measurable levels, and then explodes. A Melkotian appears on the main viewer screen, noting that Kirk did not kill. Kirk explains that they fight only when there is no choice, and prefer peaceful contact. The Melkotians extend an invitation to establish relations with the Federation, and asks Kirk to send a delegation to the planet.
Spock then asks Kirk a "personal" question: did he actually want to kill the Earps? Kirk agrees that it exactly how it was that afternoon, and how it was in 1881. Spock wonders how humanity managed to survive. Kirk says that Humans overcame their instinct for violence, receiving a doubting look from Spock as he moves back to his console. The Enterprise then begins its orbit of Melkot.
- "Captain's log, stardate 4385.3. We have transported down to the Melkotian planet and have encountered conditions which are completely contrary to what we were prepared for."
"History cannot be changed."
- - Spock to Kirk, on the OK Corral
"Is this a dead man, doctor?"
"Very dead, Mr. Spock."
- - Spock and McCoy after checking on a man Morgan Earp kills outside of the saloon
"What can I do, Captain? You know we're always supposed to maintain good relations with the natives."
- - Chekov, before kissing Sylvia
"I always said you was yellow, Clanton."
"I'll make one more attempt to get through to you, Mr. Earp. My name is not Clanton; it's Kirk."
"Oh, yeah. We heard the talk about your jokes."
"I'm not joking."
"Sure. Well, I'm glad to meet you, Mr. Kirk!"
- - Virgil Earp and James T. Kirk
"We don't want any trouble. We'll be glad to co-operate."
"Five o'clock, Clanton. Is that clear? If you're in town at 5:01, we'll kill every one of you whether you draw or not. Is that clear?"
- - Kirk and Wyatt Earp
"A lot of people and things have tried to kill me. You'd be surprised."
- - Chekov to Sylvia, on Morgan
"Captain, it's quite all right. They forget I am half human."
- - Spock, after McCoy and Scott criticize his lack of grief over Chekov's shooting
"It's to kill the pain."
"But this is painless."
"Well, you should've warned me sooner, Mister Spock. Fire away."
- - Scott and Spock, as Scott gulps down some bourbon before testing the tranquilizer
"Physical reality is consistent with universal laws. Where the laws do not operate, there is no reality."
- - Spock to McCoy, at the OK Corral
"Ten minutes, and it's all going to end at the OK Corral. Well, we're going to wait right here until well after five o'clock. We're not going to move from this spot!"
- - Kirk
"We don't have that clockwork ticker in our head like you do. We can't turn it on and off."
- - McCoy, to Spock
- - Wyatt Earp, before the fight
"I wonder how humanity managed to survive."
"We overcame our instinct for violence."
- - Spock and Kirk, on killing
Story and scriptEdit
- The story outline titled "The Last Gunfight" was dated 19 April 1968. The revised final draft was dated 14 May 1968, and filmed in late May. James Blish's adaptation has the title as "The Last Gunfight". Among the differences in the adaptation, the tranquilizer is delivered via darts; in the episode, it is in the form of a nerve gas.
- The writing of this episode was influenced by a series of memos which were sent between Gene Roddenberry and the executives at NBC, by the end of the second season, and which proposed that Chekov be featured in the third season more than he had been, up to that point. (Cinefantastique, Vol. 22, No. 5, p. 40)
- The episode originally aired only one day before the 87th anniversary of the original gunfight at the O.K. Corral.
- Wyatt Earp, despite the sign in this episode, was not the marshal of Tombstone. His older brother, Virgil, was. Wyatt and Morgan were deputy marshals. Also, in reality, the actual gunfight took place outside Fly's Photographic Studio, a good distance from the O.K. Corral. These inaccuracies can be attributed to Kirk's romanticized conceptions of the Old West.
- Kirk also appears unaware that Ike Clanton (the character that is associated with him in the illusion) survived the actual historical gunfight.
- Some other errors regarding the historical gunfight: Morgan Earp is referred to by Kirk as "the man who kills on sight" when the real-life Morgan, by most reliable accounts, was an even-tempered lawman who used his gun only when he was forced to. The gunfight in the Melkotian scenario is treated as a prearranged event when, actually, it was a more or less spontaneous affair. The gunfight took place near the hour of three o'clock, rather than the five o'clock in the episode. Finally, although it may have seemed that Chekov's Billy Claiborne was the youngest (he turned twenty-one, the day before the gunfight), Billy Clanton, the role Scotty played, was nineteen.
- Star Trek characters revisited the Old West in TNG: "A Fistful of Datas".
- This is the only episode to end with the Enterprise heading toward a planet.
- This is the second time that McCoy believes he cannot be harmed by a weapon (this time due to Spock's convincing in a meld); the first time, when he stands his ground as the Black Knight charges him in "Shore Leave", this strategy was unsuccessful, as the weapon (a lance) was physically real, not merely an illusion.
- For the third season, the velour tunics from the first two seasons have been replaced by polyester ones, which are better-fitting but lack the luster of the original velour. The new fabric was a heavy diamond-weave nylon double-knit material akin to that used in professional baseball uniforms. The switch was made because the original velour shrank every time it was dry-cleaned. This was a problem because union rules required that costumes be cleaned before each use. (citation needed • edit)
- Chekov is the only member of the landing party who wears a two-holstered gun belt.
- Mike Minor was the designer of the Melkotian's mask. (citation needed • edit)
Sets and propsEdit
- The original script specified filming the episode on location in an outdoor Western town. However, due to budget restrictions, filming was confined to the regular studio stages. To avoid having to build a complete Western town set, the concept of an incomplete town, put together from "bits and pieces" out of Kirk's mind, was developed, thus allowing the episode to be filmed within budget. (The Star Trek Compendium)
- Kirk's chair has a pad on its base, made from the same material that covers the rest of the floor of the bridge.
- This is TOS' only foray into surrealism, with unique set designs by Matt Jefferies.
- The sign that says "sheriff" has an identical font to the main titles of the show. 
Cast and charactersEdit
- George Takei (Sulu) does not appear in this episode.
- DeForest Kelley previously played Ike Clanton in a 1955 episode of You Are There and Morgan Earp in the 1957 film Gunfight at the O.K. Corral.
- According to an interview in The World of Star Trek, James Doohan intensely disliked the back combed hairstyle he debuted in this episode, which was not his own choice. By the filming of "The Tholian Web", this hair-do is gone for good, though viewers would see it again in "The Empath" and "Elaan of Troyius", which weren't aired until December of that year.
- This is one of three episodes that confirm Uhura's native language of Swahili (the other two being "The Man Trap" and "The Changeling"). The Star Trek writers' bible also confirms that she is from the "United States of Africa".
- All of the actors playing a genuine historical role were significantly older than the character was at the time of the shoot-out:
- Several of the actors in this episode, including Charles Seel and Gregg Palmer, acted extensively in Westerns throughout their careers.
- Rex Holman (Morgan) later played the settler J'onn in Star Trek V: The Final Frontier.
- Clocking in at approximately five minutes and 25 seconds, this episode's teaser is the second longest in the original series, lasting 10 seconds shorter than the teaser for "I, Mudd (episode)."
- This was the first episode produced for season three.
- A very subtle change in the third season was the use of new sound effects for the pushing of buttons on the bridge.
- Another difference this episode brings is the "singing plant" background noise from "The Cage", used for nearly every planet in seasons one and two, is replaced here by a warbly sound used before on the planet Triskelion. This will again be used intermittently throughout season three –for example, in "For the World is Hollow and I Have Touched the Sky" and "The Cloud Minders".
- Jerry Fielding's unique score adds atmosphere to this episode. When the villains are first seen in the saloon, Fielding has the piano play stereotypical "menace" notes and a bizarre rendition of "Buffalo Gals". Fielding's other Star Trek contribution was his score for "The Trouble with Tribbles".
- Although the OK Corral is swept by wind and flying detritus in the last act, this effect ceases during the close-up shots where Spock mind-melds with the crew.
- A funny photo taken on the set of this segment, and reproduced in the paperback book A Star Trek Catalogue, shows Kelley looking in puzzlement at a revolver that he is holding incorrectly. This is apparently a joke, since Kelley acted in dozens of westerns before Star Trek.
- A short clip in the third season blooper reel shows the Melkotian head wearing a fake mustache and horn-rimmed glasses. Writing in an issue of the fan magazine Enterprise Incidents, James Van Hise said that the glasses belonged to co-producer Robert H. Justman.
- Story outline by Lee Cronin, 18 March 1968
- Story outline, 19 April 1968
- Story outline, 30 April 1968
- Filmed: 21 May 1968 – 29 May 1968
- Score recording, 5 July 1968
- Original airdate, 25 October 1968
- Rerun airdate, 4 April 1969
- First UK airdate 15 September 1971
Video and DVD releasesEdit
- Original US Betamax release: 1988
- UK VHS release (two-episode tapes, CIC Video): Volume 29, catalog number VHR 2381, 3 September 1990
- US VHS release: 15 April 1994
- UK re-release (three-episode tapes, CIC Video): Volume 3.1, 1 September 1997
- Original US DVD release (single-disc): Volume 28, 10 July 2001
- As part of the TOS Season 3 DVD collection
- As part of the TOS-R Season 3 DVD collection
Links and referencesEdit
- Leonard Nimoy as Mr. Spock
- DeForest Kelley as Dr. McCoy
- Ron Soble as Wyatt Earp
- Bonnie Beecher as Sylvia
- James Doohan as Scott
- Walter Koenig as Chekov
- Nichelle Nichols as Uhura
- Charles Maxwell as Virgil Earp
- Rex Holman as Morgan Earp
- Sam Gilman as Doc Holliday
- Charles Seel as Ed
- Bill Zuckert as Johnny Behan
- Ed McCready as Barber
- Abraham Sofaer as Melkotian (voice)
- William Blackburn as Hadley
- James Doohan as Melkotian buoy (voice)
- Roger Holloway as Roger Lemli
- Jeannie Malone as yeoman
- Bob Orrison as Cowboy
- Gregg Palmer as Rancher
- Eddie Paskey as Leslie
- Unknown actors as
Deleted scenes Edit
- Richard Anthony as Rider
American frontier; apothecary; Arizona; baking soda; "Bones"; bourbon; bullet; Buntline Special; cactus; cattle; Claiborne, Billy; Clanton gang; Clanton, Billy; Clanton, Ike; Colt; corn whiskey; Cossack; cotton wadding; dizziness; Earp gang; Earth; English; Federation; force field; gallon; gas grenade; gown; gun; horse; kilometer; label; lead; M-rays; marshal; McLowery, Frank; McLowery, Tom; Melkot(ian); Melkotian buoy; Melkotian homeworld; mile; mortar and pestle; OK Corral; OK Corral, Battle at the; palpitation; phaser gun crew; pioneer; red alert; revolver; Rossini, Angela; Russian; scotch; shadow; Skipworth and Co; snake; standard orbit; stomach; Swahili language; Taos lightning; telepathy; Tombstone; Tombstone Epitaph; town marshal; tranquilizer; tricorder; United States of America; venom; Vulcan language; Vulcan mind meld; yard
- "Spectre of the Gun" at StarTrek.com, the official Star Trek website
- "Spectre of the Gun" at Memory Beta, the wiki for licensed Star Trek works
- "Spectre of the Gun" at Wikipedia
- "Spectre of the Gun" at MissionLogPodcast.com, a Roddenberry Star Trek podcast
| Previous episode produced:|
| Star Trek: The Original Series|
| Next episode produced:|
"Elaan of Troyius"
| Previous episode aired:|
"Is There in Truth No Beauty?"
| Next episode aired:|
"Day of the Dove"
| Previous remastered episode aired:|
"The Cloud Minders"
|TOS Remastered|| Next remastered episode aired:|