The Elves of Doriath pursued the smiths to their deaths and reclaimed Nauglamír. But two of the slayers of Thingol escaped from this, and in Nogrod told how Dwarves were slain by command of the Elven-king, who thus would cheat them of their just reward. The Dwarves of Nogrod lamented the deaths of their kin and their great craftsmen and took thought of vengeance. Though the Dwarves of Belegost tried to dissuade them from their purpose, the Dwarves of Nogrod invaded Doriath. After a hard battle in the Thousand Caves, the Dwarves of Nogrod were victorious and took Nauglamír and the Silmaril. On their return journey to the Blue Mountains, however, the Dwarves of Nogrod were assailed by a company that included Beren, his son Dior, and many Green-elves of Ossiriand. Many of the Dwarves were slain, and Beren himself slew the Lord of Nogrod and wrested from him the necklace Nauglamír. Some of the Dwarves escaped from the battle, but they were ambushed in the slopes beneath Mount Dolmed by the Shepherds of the Trees.