Conscience of Marinus
The Conscience of Marinus was a great computer hidden on the planet Marinus, maintained by Arbitan. It could only be used if all the five keys were in place. First used as a perfect arbiter and judge, it was later adjusted to control all minds on Marinus to make evil thoughts and behaviors impossible. Invaders called the Voord 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 use it to control 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, because morality should be genuine, not imposed by an outside force (DW: The Keys of Marinus).