Answer
"The City on the Edge of Forever" is a famous episode of Star Trek written by Harlan Ellison. The episode is notable for its complex plot, which involves time travel and the question of whether it is ever right to change the past. The episode also features a strong performance by William Shatner as Captain Kirk.