Breath of the Wild takes place at the end of the Zelda timeline in the kingdom of Hyrule. 10,000 years before the beginning of the game, Hyrule is an advanced civilization, protected by four enormous animalistic machines called the Divine Beasts and an army of autonomous weapons called Guardians. When the evil Calamity Ganon appears and threatens Hyrule, four great warriors were given the title of Champion, and each piloted one of the Divine Beasts to weaken Ganon while the princess with the blood of the goddess and her appointed knight fought and defeated him by sealing him away. 9,900 years later, the kingdom of Hyrule had devolved to a medieval state. Reading their ancestors' prophecies, the Hylians recognized the signs of Ganon's return and excavated surrounding areas to uncover the Divine Beasts and Guardians. During this time, Princess Zelda trained vigorously to awaken the sealing magic needed to defeat Ganon while trying to maintain her personal research. In the meantime, a knight was appointed to protect her, that being Link, who was chosen due to his ability to wield the Master Sword, also known as the Sword that Seals the Darkness. The champions of Hyrule's races — Daruk, warrior of the mountainous Goron; Mipha, princess of the aquatic Zora; Revali, archer of the birdlike Rito; and Urbosa, chief of the desert-dwelling Gerudo — assembled to pilot the Divine Beasts (Vah Rudania, Vah Ruta, Vah Medoh, and Vah Naboris respectively) while the current Zelda and Link battled Ganon. However, Ganon possessed the Guardians and Divine Beasts, turning them against Hyrule. King Rhoam and the Champions were killed, the castle town was destroyed, and Link was gravely wounded. Zelda took Link to safety for him to heal, hid the Master Sword in the Lost Woods, and used her magic to seal Ganon in Hyrule Castle. This cataclysmic tragedy came to be known thorough the ages as the Great Calamity. 100 years after being placed in a healing chamber, an amnesiac Link awakens in a now-ravaged Hyrule. He meets an old man, who reveals himself as the lingering spirit of King Rhoam. Rhoam explains that Ganon, sealed in Hyrule Castle, has grown strong; he pleads for Link to defeat Ganon before he breaks free and destroys the world. Link travels across Hyrule, returning to locations from his past and regaining his memories. With the help of the Hyrulean races, he boards the four Divine Beasts and purges them of Ganon's monsters, releasing the spirits of Hyrule's former champions and allowing them to pilot the Divine Beasts once again. After obtaining the Master Sword from the Lost Woods, Link enters Hyrule Castle and defeats Ganon with the help of the Divine Beasts and Zelda's Bow of Light. Zelda seals Ganon away, restoring peace and allowing the spirits of King Rhoam and the champions to depart. Sensing their presence, Link and Zelda smile fondly. If players have found all 13 memories in the quest "Captured Memories", they unlock a secret ending in which Zelda realizes that Hyrule must be rebuilt and that she and Link must begin the process themselves. As Link and Zelda survey Hyrule and embark to rebuild their world, the princess confides that she may no longer possess any supernatural power, yet still she is happy.