In 2265, Sanduy's Comet made its closest approach to Nukolee in recorded history. It deposited gases into the planet's atmosphere which triggered random bouts of temporary madness among the population.
In 2267, the USS Enterprise was assigned to transport Raviki to Nukolee to assume the throne. Upon his arrival, several people made inexplicable attempts on his life. After discovering the source of the worldwide madness, James T. Kirk and Spock aided Raviki in dealing with General Vlas' attempted coup, while Leonard McCoy and Montgomery Scott discovered and administered an antidote. (TOS comic: "A World Gone Mad")