Sting was forged in Gondolin after which it was lost for a long time untill it was found in the Troll hoard of Tom, Bert and Bill Huggins after they were defeated. Bilbo Baggins received Sting as his sword and carried it with him during his adventures with the dwarves in the Hobbit. Bilbo gave Sting to Frodo to aid him in his quest to defeat the Lord of the Rings. Sam used Sting to defeat Shelob when Frodo was poisoned by her.