Overview
"The City on the Edge of Forever" is the twenty-eighth and penultimate episode of the first season of the American science fiction television series Star Trek. It was written by Harlan Ellison; contributors to and/or editors of the script included Steven W. Carabatsos, D. C. Fontana and Gene L. Coon. Gene Roddenberry made the final re-write. The episode was directed by Joseph Pevney and first aired on NBC on April 6, 1967, with a repeat broadcast on August 31, 1967.
In the episode, Doctor Leonard McCoy (DeForest Kelley) accidentally overdoses himself with a dangerous drug. He transports himself down to a mysterious planet while not in his right mind and is pursued by a rescue party led by Captain Kirk (William Shatner) and Spock (Leonard Nimoy), who soon come across the Guardian of Forever, a sentient time portal. McCoy travels back in time while impaired and changes history to such an extent that the Federation of Planets no longer exists, and Kirk and Spock follow him to Depression-era New York City to attempt to fix the damage. While in the past, Kirk falls in love with Edith Keeler (Joan Collins), a soup kitchen operator who dreams of a future much like his own 23rd Century. However, he and Spock eventually realize that to save their timeline, they must allow Keeler to die.
The episode received widespread critical acclaim and has been frequently stated to be the best episode of the entire Star Trek franchise. Elements such as the tragic ending were highlighted by several reviewers. It won several awards, including the Writers Guild of America Award for Best Episodic Drama on Television (Ellison, 1967) and the Hugo Award for Best Dramatic Presentation (Ellison and Pevney, 1968).
Plot
While the USS Enterprise orbits a mysterious planet causing time distortions, Chief Medical Officer Leonard McCoy is treating an injured Lt. Sulu when the Enterprise is rocked by another time wave and McCoy accidentally injects himself with a huge dose of cordrazine, a dangerous drug. Driven into a mad frenzy, McCoy screams "Killers! Assassins! I won't let you!" and flees from the bridge and beams himself down to the planet. Captain James T. Kirk follows with a search party that includes first officer Mr. Spock, chief engineer Mr. Scott, and communications officer Lt. Uhura. On the planet's surface, they come across an ancient glowing ring which turns out to be a sentient object called the "Guardian of Forever", a portal capable of sending them to any time and place.
From Wikipedia (CC BY-SA 4.0).