Keyblade War

The Keyblade War (キーブレード戦争) was a mysterious conflict in which many Keyblade wielders fought prior to the events of Kingdom Hearts Birth by Sleep. According to Xehanort's research, the conflict arose when the Keyblade wielders of the Light and the Darkness clashed with each other to create the χ-blade and, with it, control Kingdom Hearts. The war itself was so massive in scope, that worlds that were not originally involved were drawn into the conflict. The war is what caused the Kingdom Hearts universe to be remade into what it is today. The failed attempts also resulted in the scarred remnants that would someday be known as the Keyblade Graveyard.

Several years later, Master Eraqus and Master Xehanort do discuss the events of the Keyblade War, having heard legends of it. It is during this encounter between the two Keyblade masters that Xehanort's goal to unlock the mysteries of what took place at the Keyblade War's end through creating the χ-blade become clear. In order for this to be done, however, Xehanort would need to join two hearts, one of pure light (Ventus) and the other of pure darkness. The one of pure darkness, whom he named Vanitas, would later become his apprentice and seek to open Kingdom Hearts through the χ-blade, thus allowing Keyblade wielders from other worlds to reassemble in the Keyblade Graveyard, resuming the Keyblade War.

Master Xehanort was foiled, however, by the combined efforts of Terra, Aqua, Ventus, Mickey Mouse and the Lingering Will, and the Keyblade War was prevented.

Despite this, the stories of the Keyblade War manage to reach the ears of a few across several worlds, whether or not they were Keybearers or had met any. King Triton was among these people, and this initially caused him to treat Sora with contempt, though when Sora saved him from Ursula, Triton's opinion of the Keyblade changed for the better.

Although his initial plans were derailed, Master Xehanort is not deterred from his course of action. As a secondary plan, Ansem, Seeker of Darkness, prior to obtaining Riku's body as a vessel, travels back in time and meets with Master Xehanort's younger self, sending him on a mission to create an organization of thirteen different incarnations of Xehanort, or thirteen darknesses for Master Xehanort to pit against seven lights as an alternate way of recreating the χ-blade and starting another Keyblade War. The new Organization XIII comes to include Master Xehanort, Young Xehanort, "Ansem", Xemnas, Xigbar, Isa and six more hooded figures. Master Xehanort's plan to make Sora into the final vessel for his essence is foiled when Riku, Mickey, Lea, Donald and Goofy intervene, and the twelve current members disappear, returning to their proper points in time for the time being.