Star Trek VI: The Undiscovered Country is the sixth feature film in the Star Trek science fiction franchise and is the last of the Star Trek films to include the entire main cast of the 1960s Star Trek television series. It was released in 1991 by Paramount Pictures, directed by Nicholas Meyer and written by Meyer with Denny Martin Flinn. After an ecological disaster leads to two longstanding enemies—the Federation and the Klingon Empire—brokering a tenuous truce, the crew of the USS Enterprise must prevent war from breaking out on the eve of universal peace. Faced with producing a new film in time for Star Trek's 25th anniversary, Flinn and Meyer, the director of Star Trek II: The Wrath of Khan, wrote a script based on a suggestion from Leonard Nimoy about what would happen if "the wall came down in space", touching on the contemporary events of the Cold War. The production budget was smaller than anticipated because of the critical and commercial failure of Star Trek V: The Final Frontier. Meyer and cinematographer Hiro Narita aimed for a darker and more dramatic mood, subtly altering redresses of sets originally used for the television series Star Trek: The Next Generation. The film garnered positive reviews, with publications praising the lighthearted acting and facetious references. The Undiscovered Country performed strongly at the box office, and is the only Star Trek movie to win a Saturn Award for Best Science Fiction Film. Star Trek creator Gene Roddenberry died shortly before the movie's premiere, just days after viewing the film.