Conscience of Marinus
From TARDIS Index File, the free Doctor Who reference.
The Conscience of Marinus was a great computer located on the planet Marinus. Originally used as a perfect arbiter and judge, it was later adjusted to control all minds on Marinus so as to make evil thoughts and actions impossible.
[edit] Profile
The computer was maintained by Arbitan. It could only be used if all the five keys were in place. The Voord, let by Yartek, developed an immunity to its effects, allowing them to exploit the people of Marinus. The machine was deactivated and the keys scattered, for fear that the Voord would get their hands on it and exploit the machine for their own ends.
Shortly after their arrival on Marinus, the Doctor and his companions were later sent by Arbitan to find and reassemble the keys so that he could reactivate and adjust the machine. They succeeded; however, the Voord had already killed Arbitan and taken over his citadel by the time they arrived back. The use of a forged key in place of one of the real keys caused the machine to explode when the Voord tried to reactivate it, destroying the invaders. The Doctor considered the destruction of the computer to be for the best, thinking that morality should be genuine and not imposed by an outside force (DW: The Keys of Marinus)
