The Silmarillion
A brief version of the story formed the base of chapter XXI of "The Silmarillion", setting the tale in the context of the wars of Beleriand. Although based on the same texts used to complete the new book, the "Silmarillion" account leaves out the greater part of the tale.