Nine-Tailed Demon Fox's Attack

Twelve years before the start of the series, after the end of the Third Great Shinobi War, the Nine-Tailed Demon Fox attacked the village of Konohagakure. Nobody in the village was able to stop the fox until Minato Namikaze, the Fourth Hokage, arrived to seal the fox 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 demon fox 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, however, Minato claims to have fought him on the night of the attack.

As the Uchiha clan's Sharingan is the only ability capable of controlling the Demon Fox, 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.

In the anime, the fox 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.