The City on the Edge of Forever

Kirk and Spock must travel into the past in order to correct a change that will alter history.