The battle took place after the death of the dragon Smaug, guardian of the treasure Dale. Everyone wanted to hold the huge treasure for themselves. As they had common enemies, the humans ally with the elves and dwarves against Orcs and Wargs. The victors were the human and allies who shared the treasure. Die this Thorin, Fili and Kili, fellow adventure of Bilbo war. 

The Hobbit The Battle of Five Armies Torrent

The Hobbit: The Battle of Five Armies Torrent is the last of the trilogy of films based on the popular masterpiece The Hobbit, by JRR Tolkien. The film follows the epic journey of Bilbo Baggins (Martin Freeman), who joins the wizard Gandalf (Ian McKellen) and the thirteen dwarves led by Thorin Escudo-de-Carvalho (Richard Armitage), to recover the Kingdom of the Dwarves of Erebor the dreaded dragon Smaug.