Nine-Tailed Demon Fox's Attack

Twelve years before the start of the series, after the end of the Third Great Shinobi World War, the Nine-Tailed Demon Fox attacked the village of Konohagakure. Nobody in the village was able to stop it until Minato Namikaze, the Fourth Hokage, arrived to seal the Nine-Tails into his newborn son, Naruto Uzumaki. The village suffered heavy casualties during the attack, such that few of the villagers would forgive Naruto (who they viewed as the fox) for its actions.

Though the Nine-Tails had attacked many settlements regularly throughout history for no apparent reason, Jiraiya, Minato Namikaze, and Itachi Uchiha speculate that Madara Uchiha was behind the attack on Konoha. Madara denies this and attributes its rampage as a natural occurence: however, Minato claims to have fought him on the night of the attack.

As the Uchiha clan's Sharingan is able control the Nine-Tails, the elders of the village suspected them of being responsible of unleashing the attack. It was this spite that led them to attempt a rebellion, which ended with their mass assassination before it could happen. After long, it was revealed to Naruto by Kushina that she was the former jinchūriki of the Nine Tails and she revealed that during childbirth, the seal was at its weakest. She comments that during Naruto's birth, a masked marauder, speculated to be Madara Uchiha, attacked at a vulnerable moment. At this point, the man in the mask took control of the Nine Tails.

In the anime, the Nine-Tails is revealed to have left behind large amounts of its chakra during the attack that, when gathered by Kazuma, allowed him to turn Sora into a pseudo-jinchūriki.