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 returned when Ship used the black hole as fuel. Though Sarah Jane, Luke, Rani and Clyde were happy to have K9 back, Mr Smith was not. (TV: The Mad Woman in the Attic) K9 spent a lot of his time in Sarah Jane's attic at 13 Bannerman Road, Ealing, but left to defeat Travast Polong. He attended Sarah Jane's abortive wedding to Peter Dalton, where he helped the Tenth Doctor, Luke, Rani and Clyde defeat the Trickster. (TV: The Wedding of Sarah Jane Smith) After helping defeat the Slitheen family, Clyde brought K9 to Park Vale Comprehensive School to help him with his test. He helped defeat the Rakweed before returning home. (TV: The Gift) K9 went to the University of Oxford with Luke, but restored Mr White's original programming through a mobile phone.(TV: Goodbye, Sarah Jane Smith)
Although John Leeson has been the primary voice actor for K9 since his introduction, two other actors have voiced the character. David Brierley voiced K9 during Season 17 after Leeson chose not to return to the series (Leeson subsequently signed up again for Season 18), and Roy Skelton, better known for his work voicing Daleks, voiced the character in Destiny of the Daleks when all was required of K9 was a croaking sound due to the character contracting a form of robot laryngitis.
K9, retroactively "K9 Mark I" (Leeson), initially appeared in The Invisible Enemy (1977) as the creation of Professor Marius (Frederick Jaeger) in the year 5000. K9 subsequently travelled with the Fourth Doctor (Tom Baker) and Leela (Louise Jameson) as a companion of the Doctor in his adventures in time and space until The Invasion of Time (1978). In this serial, K9 decides to remain on the Doctor's home planet of Gallifrey with Leela. Immediately afterwards, Doctor Who would introduce a second incarnation of K9, played by the same prop; the last scene of The Invasion of Time shows the Doctor unpacking a box labeled "K9 Mk II".