Omnethoth

The Omnethoth was a sentient weapons system designed by a race called the Masters, who created it with universal domination in mind.

History
The Euterpians and Greld used the Omnethoth, along with the battle shroud of the Semquess, during the Millennium War, destroying an entire galaxy in order to destroy a thousand of the Mad Mind of Bophemeral's fleets. (PDA: The Quantum Archangel)

The Omnethoth eventually destroyed the Masters and then found its way to the Minerva system, where it totally destroyed Yquatine. The Eighth Doctor reprogrammed the Omenthoth to make them tame and harmless, after which President Vargeld of Yquatine had them destroyed. (EDA: The Fall of Yquatine)