Shortly after the group sets out, three hungry trolls capture all of them except for Gandalf. Gandalf tricks the trolls into remaining outside when the sun comes up, and the sunlight turns the nocturnal trolls to stone. The group finds a great cache of weapons in the trolls’ camp. Gandalf and the dwarf lord Thorin take magic swords, and Bilbo takes a small sword of his own.
The group rests at the elfish stronghold of Rivendell, where they receive advice from the great elf lord Elrond, then sets out to cross the Misty Mountains. When they find shelter in a cave during a snowstorm, a group of goblins who live in the caverns beneath the mountain take them prisoner. Gandalf leads the dwarves to a passage out of the mountain, but they accidentally leave behind Bilbo.
Wandering through the tunnels, Bilbo finds a strange golden ring lying on the ground. He takes the ring and puts it in his pocket. Soon he encounters Gollum, a hissing, whining creature who lives in a pool in the caverns and hunts fish and goblins. Gollum wants to eat Bilbo, and the two have a contest of riddles to determine