Gandalf convinces Bilbo to join thirteen dwarves led by Thorin Oakenshield on a journey to reclaim their lost treasure from the dragon Smaug. Along the way, Bilbo finds a magic ring that grants him invisibility and helps the group escape danger. They eventually reach Smaug's lair, where Bilbo discovers his weakness. Smaug is later killed by Bard, but word of the treasure spreads and leads to the Battle of Five Armies. Bilbo ultimately returns home after overcoming many obstacles on his yearlong quest.