Introduced into the plot in The Invasion of Time, K9 Mark II first actually appear on-screen in The Ribos Operation (1978). More mobile than his predecessor, Mark II exhibited the ability to sense and warn others of danger. He travels as a companion alongside the Doctor and Romana. Around the time of Romana's regeneration (the transition from actress Mary Tamm to Lalla Ward), the K9 character was explained as suffering from "laryngitis" to accommodate Leeson's departure from the series at the start of the 1979–80 season; for this time, he was portrayed by David Brierley, until Leeson's return for the 1980–81 season. When the Doctor and Romana travel to the parallel universe of E-Space, K9 is severely damaged, in Warriors' Gate (1981). The damage was such that K9 could only function in E-Space; when Romana decided to stay and forge her own path, the Doctor gave K9 to her. The character makes subsequent appearances in remakes of the unfinished serial Shada, alongside the Eighth Doctor (Paul McGann); the 2003 Shada audio play and webcast depict K9 Mark II as having returned to Gallifrey with Romana, now Lady President of the Time Lords, where the Doctor visits them. It is not clear if either of these audio appearances are considered canonical in relation to the continuity of the TV series.
The handler and dog must also be able to pass the police test, which involves controlling the dog fully, even after giving the dog the attack command. The dog must stop immediately and fulfill any command it is given by the handler. There are specifications of training involved in using trained K9 police dogs in the airport, marine ports, railroads, in a metro station.
Later he defeated Ahab, who tried to convince him he had murdered Zanthus Pia. He became part of the K9 Unit, being made the responsibility of Gryffen and under the control of Department inspector June Turner. (TV: The Bounty Hunter) He foiled Inspector Drake's plan to control the population using Cerulium (TV: Sirens of Ceres) and experienced fear. (TV: Fear Itself) He aided in the defeat of echoes of Gryffen's family, (TV: The Fall of the House of Gryffen) Orthrus, a duplicate of him created by Drake to frame him (TV: Jaws of Orthrus) and the Bodach. (TV: Dream-Eaters) He met Nehetka and Geb of the Anubians, a race his previous incarnation liberated. He was so obsessed with regaining his lost memories that he didn't notice Gryffen, Starkey and Jorjie's takeover by the Anubians. He soon found out when the Anubians attacked the Department. With Darius' help, he defeated them. (TV: Curse of Anubis)
After K9 Mark I regenerated into K9 Mark 2, his design was radically altered. His ear probes were replaced with larger silver aerials. A set of blue lights on his head flashed when he spoke. Most of his body was dark silver and a silver dog bone was located under his neck. He seemed to have the same capabilities as Mark I but was presumably more advanced. (TV: Regeneration)
K9, occasionally written K-9, is the name of several fictional robotic canines (dogs, the name being a pun on the pronunciation of "canine") in the long-running British science fiction television series Doctor Who, first appearing in 1977. K9 has also been a central character in three of the series television spin-offs: the one-off K-9 and Company (1981), The Sarah Jane Adventures (2007–2011) and K-9 (2009–2010). Although not originally intended to be a recurring character in the series, K9 was kept in the show following his first appearance because he was expected to be popular with younger audiences. There have been at least four separate K9 units in the series, with the first two being companions of the Fourth Doctor. Voice actor John Leeson has provided the character's voice in most of his appearances, except during Season 17 of Doctor Who, in which David Brierley temporarily did so. The character was created by Bob Baker and Dave Martin, to whom rights to the character still belong; consequently, Baker's spin-off series K9, which is not BBC-produced, cannot directly reference events or characters from Doctor Who, though it attempts to be a part of that continuity.