The initial idea for realising K9 was to use a small actor inside a robotic Dobermann costume, but that was rejected in favour of a radio-controlled prop, designed by Tony Harding and made by the BBC Visual Effects Department. The Radio Control Model Centre in Harlington Middx owned by Derek Wales was commissioned to build the electronics into the first original basic shell and consequently the centre operated the dog on set for the BBC.[citation needed] The robot suffered from numerous technical problems during its time in the series, often malfunctioning because the radio controls interfered with the cameras and vice versa. On location, K9 also proved unable to traverse uneven terrain, and shots had to be conceived with this in mind. Workarounds included using a concealed piece of twine to pull the character along (this string can be clearly seen in a shot of K9 on Brighton Beach), or laying wooden planks on which it could roll.
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".