|The History of Arda|
| Years of the Lamps|
Years of the Trees
|Years of the Sun|
| First Age|
|Timeline of Arda|
The published Silmarillion ends with the recounting of the voyage of Eärendil the Mariner, but in the older versions of the Silmarillion as published in The History of Middle-earth this was not yet the end. The Silmarillion originally ended with a prophecy by Mandos about the Final Battle (or the Dagor Dagorath in Sindarin). The account bears many similarities to – and may have been inspired by the Norse legend of Ragnarøk.
According to the prophesy, included in both The Shaping of Middle-earth and in The Lost Road, Melkor will discover how to break the Door of Night, and will destroy the Sun and the Moon. For the love of these, Eärendil will return from the sky and shall meet Tulkas, Manwë (or Eönwë his herald) and Túrin Turambar on the plains of Valinor. All the Free Peoples of Middle-earth will participate in this final battle, Elves, Men, and Dwarves alike. Also in the Battle will be Ar-Pharazôn and the Númenóreans who broke the Ban and landed at Aman in 3319 SA. These Númenóreans of the Great Armament were not destroyed, but are imprisoned in the Caves of the Forgotten, where they await the ending of the world. The role that they have to play in the Last Battle is unknown.
The forces of the Valar shall fight against Melkor, who will have resurrected many of his old followers, including Sauron. Tulkas will wrestle with him, but it will be by the hand of Túrin that finally death and utter defeat will be dealt to Melkor. Túrin will run his black sword Gurthang (Iron of Death) through Melkor's heart, thus avenging the Children of Húrin (Sindarin: Chîn Húrin), and the Pelóri Mountains will be leveled. The Silmarils will be recovered from the Earth, and Fëanor's spirit shall be released from the Halls of Mandos and he will surrender them to Yavanna. They will be broken and their Light will rekindle the Two Trees. With the flattening of the Pelóri, the light of the Trees will cover all of Arda. The battle will end and renew Arda's existence: all the Elves shall awaken and the Powers will be young again. Also, according to Dwarven legends, they will help their maker Aulë recreate Arda in all its glory again.
Following this, there will be a Second Music of the Ainur. This song will sing into being a new world. Men and Elves will sing with the Ainur. It is unknown what the fate of the old races, or of the old world, will be in the new one. Even the Ainur do not know anything of the second world or the Second Music. All the Ainur know is that the Second Music will be greater than the First Music.