Sting

Sting was a sword owned by Bilbo Baggins during the time of the Quest of Erebor, which took place from Spring to winter of 2941. It was a Gondolin blade forged in the First Age. It was founded in a troll hoard along the swords, Orcrist and Glamdring. It was found by Gandalf given to Bilbo Baggins.

The Goblin Wars
Sting was forged in the fires of Gondolin by the High Elves. It is assumed to be made by the same person who created Orcrist because of their similar shape. It was a dagger to elves, but would make a fine sword for Bilbo and others. It was served well throughout the years. Eventually, the trolls came in possession of it and kept the mighty weapon as their own.

Troll-shaws
While Gandalf stayed behind, he stepped on something covered in leaves. He uncovered them and saw the elven sword perfect enough for Bilbo. He presented the sword to the Hobbit, but Bilbo at firs t declines the offer, but FVandalf gives it too him and has Bilbo hold on to it because he won't ever know if he needed it or not.