K9 was a popular enough character to warrant an attempt to spin him off into his own series. In addition to K9 dolls, there were also talking K9 toys produced by Palitoy, the speech provided by a miniature record inside the body of the toy. John Leeson provided the voice for K9 in all its appearances, except for Season 17 (which included the unfinished Shada) when it was voiced by David Brierley. When Shada was remade by Big Finish Productions, Leeson provided its voice.
K9 Mark I, II, III, and IV addressed whoever was directing them as "Master" or "Mistress" depending upon gender, and used the formal "affirmative" and "negative" rather than "yes" and "no". They were programmed to be both loyal and logical, with a penchant for taking orders literally, almost to a fault. Their striped collars mirrored the Fourth Doctor's trademark scarf.
When being imprisoned by the Sporraxx they tried to access K9's memory core. Memories that K9 had assumed to be erased were slowly coming back and the Sporraxx got to know more and more about K9's past. They reprogrammed K9 to protect a small spherical marauder bomb, that would destroy Earth. However K9 was able to break free of their control, because deep in his memories a sense of right and wrong prevailed. He took the bomb back into the Sporraxx space ship where it exploded. (COMIC: Short Circuit)
K9 Mark III first appeared in "A Girl's Best Friend", the 1981 pilot for a series, K-9 and Company, which never materialized beyond the first episode. In this, the character is presented to the Doctor's former companion Sarah Jane Smith (Elisabeth Sladen); together, the two embark on what a number of adventures. Only the first of these is depicted on-screen; several are shown in comic book and audio play adaptations, and others are alluded to by the television series. Mark III made a brief appearance alongside Sarah Jane in the Doctor Who 20th anniversary ninety-minute special The Five Doctors (1983), before appearing properly and for the final time in the revived series' episode "School Reunion" in 2006. By the time of that story, Mark III has fallen into disrepair and eventually sacrifices himself to stop a plot by the alien Krillitane and defeat their leader, Lucas Finch (Anthony Head). In the episode's conclusion, the Doctor presents Sarah Jane with a new K9 to encourage her to continue investigating alien activity; the Doctor "rebuilt" him after the Mark III's sacrifice, implying that he had the same mind and memories as his predecessor while still being a "brand new model".