Legolas' grandfather Oropher was in the court of Doriath in the First Age when the Elven King Thingol of Doriath contracted some Dwarves to set Beren's Silmaril on a prized necklace of the Dwarves called Nauglamir. It was originally given to the Noldor High King Finrod Felagund as a gift but was retrieved and given to Thingol after the death of Finrod. The Dwarves were consumed with greed after they had completed the work, so they killed King Thingol and stole the necklace, sparking a war between Elves and Dwarves.