Despite its initial struggles in finding an audience, Star Trek gained a loyal fan base and ran for three seasons, consisting of 79 episodes. The show's popularity grew exponentially in the 1970s, thanks in part to syndication and the rise of science fiction fandom.