K9 was not originally intended to be a companion, but producer Graham Williams liked the concept so much that the decision was made to retain him as a regular character, in order to appeal to the younger members of the audience. The original name for the character was "FIDO" — apparently from "Phenomenal [sic] Indication Data Observation" unit — but it was eventually named K9.
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)
Our training will give you the best opportunity to be successful and lead a very happy and rewarding life with your dog. The most amazing part is to watch as your confidence grows as the training progresses; from a person who has been stressed out their entire time they’ve had their dog, to stress-free. We can take your guilt or embarrassment your dog may be causing and turn that into pride and happiness.
In 1996, Sarah used K9 to hack into records and find Sam Jones' home address and later to translate Lost Boy's speech. (PROSE: Interference - Book One) K9 was briefly possessed by a malevolent entity, but was freed when Sarah accidentally electrocuted him. (PROSE: The Sow in Rut) K9 began slowly breaking down and eventually ended up deactivated in a cardboard box in Sarah's attic. (PROSE: Moving On) Hilda Winters had K9 dismantled and analysed. (AUDIO: Mirror, Signal, Manoeuvre)
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".