The Hobbit (film series) was written by Fran Walsh, Philippa Boyens, Jackson, and Guillermo del Toro, who was originally chosen to direct before his departure from the project. The films take place in the fictional world of Middle-earth sixty years before the beginning of "The Lord of the Rings", and follow hobbit Bilbo Baggins (Martin Freeman), who is convinced by the wizard Gandalf the Grey (Ian McKellen) to accompany thirteen dwarves, led by Thorin Oakenshield (Richard Armitage), on a quest to reclaim the Lonely Mountain from the dragon Smaug (voiced by Benedict Cumberbatch). The films also expand upon certain elements from the novel and
The Hobbit: The Desolation of Smaug Guldur towards the Lonely Mountain. Back inside the mountain, during a long chase, Bilbo and the Dwarves rekindle the mountain's forge using Smaug's flames to create and melt a large golden statue of Thrór, hoping to bury Smaug alive in the molten gold. They do so, but Smaug emerges from the gold, storms out of the mountain and as Bilbo watches in horror. Some characters in the film are not in the novel, but created for the film. Legolas appears in Tolkien's "Lord of the Rings" trilogy, but not in the novel "The Hobbit". Additionally, Peter Jackson makes a cameo