While caught up in a Time war between the past and the future on the planet Aoris, K9 was forced to spend a thousand years hidden on the planet, setting himself up as 'the great Machina' so that he could found a cult that would aid the Doctor and Romana in bringing the war to an end, hiding behind a fake computer with a version of the TARDIS until he could return to the Doctor and Romana once the war ended (AUDIO: The Paradox Planet, Legacy of Death).
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 this he was tricked by Thorne to give him his regeneration unit for a lost memory chip. This turned him into a bomb to make him self-destruct on encountering Jixey. Starkey helped him disarm himself. (TV: Hound of the Korven) K9 Mark 2's brief life was almost cut tragically short when after the fall of the Korven invasion force, Thorne sent the Trojan to kill K9, who defeated it by burning out his power core and exhausting all his energy. As his regeneration unit was in the Trojan, K9 seemingly died at the mansion after his companions bade him farewell. However his regeneration unit homed in at the last minute and resurrected him, giving the frisky pup a new lease on life. The regeneration unit restored his old dog collar so he could celebrate the joyful occasion to the full as he flew off to more adventures, bristling with life. (TV: The Eclipse of the Korven)
Professor Frederick Marius, who invented the first K9 in the year 5000 while working on the asteroid K4067, described him as "my best friend and constant companion." Marius had a dog on Earth, but weight requirements did not allow him to bring his real dog into space, so he built K9. (TV: The Invisible Enemy) He built K9 by using the latest technology. Marius used his own medical computer, a state-of-the-art intraresponsive brain app, protective anti-radiation cladding, probes, a laser scapel, a vision and voice box and two scanning antennas. He put these parts together and created K9. (PROSE: One Man and His Dog) According to one account, the Professor copied the remnants of one of the versions of K9 created by the Doctor and given to Sarah Jane Smith. (PROSE: Tautology)
“I’ve been down and reached the top, I’ve done it before and I’ll do it again” -@keiseannixon An absolutely fantastic interview with the @Raiders UDFA CB as we talk about his rise from JUCO to playing in his first NFL game! @1stPicksSportshttps://podcasts.apple.com/us/podcast/not-gonna-lie/id1448635934#episodeGuid=78c207df-731c-ace8-a531-2d55d36459e3 …
After debuting in the final scene of "School Reunion" (2006), K9 Mark IV returned in spin-off series The Sarah Jane Adventures' premiere episode "Invasion of the Bane", where due to licensing issues with creator Bob Baker it is explained that K9 is sealing a black hole and can only communicate briefly and infrequently with Sarah Jane. The character makes an heroic appearance in the first series finale The Lost Boy, to do battle with rogue alien supercomputer Mr Smith (Alexander Armstrong), demonstrating new CGI teleportation and hovering features. K9 Mark IV's interfaces include at least one USB port. Subsequently, the character appears briefly in the Doctor Who series four series finale "Journey's End" (2008), wherein K9 and Mr Smith assist the Doctor in returning Earth to its proper position. K9 next appears in the comedic Red Nose Day 2009 Sarah Jane mini-episode "From Raxacoricofallapatorius with Love". A deal with the creators of K9 having been struck, K9 Mark IV became a regular character in The Sarah Jane Adventures in third series story, The Mad Woman in the Attic (2009), until the series four premiere The Nightmare Man (2010), where he accompanies departing series regular, Sarah Jane's adoptive son Luke Smith (Tommy Knight), to university. He appears again in series four finale, Goodbye, Sarah Jane Smith. Though he doesn't appear in the serial, it is mentioned in The Man Who Never Was (2011) that Luke invented a special dog whistle to summon him with.