Gold Key had the comic book rights to Star Trek from 1967 (when the show was still airing) until 1978–the rights went to Marvel when the first movie was being produced and poor Gold Key was on its last legs by then anyways … …
Read this article:
Comics, old time radio and other cool stuff: Death of a Star