Harry Potter and the Deathly Hallows Part 2 is a 2011 fantasy film directed by David Yatesand distributed by Warner Bros. Pictures.
After burying Dobby, Harry Potter asks the goblin Griphook to help him, Ron Weasley, and Hermione Granger break into Bellatrix Lestrange’s vault at Gringotts bank, suspecting a Horcrux may be there. Griphook agrees in exchange for the Sword of Gryffindor. Wandmaker Ollivander tells Harry that two wands taken from Malfoy Manorbelonged to Bellatrix and Draco Malfoy, though Malfoy’s has changed its allegiance to Harry.
In the vault, Harry discovers the Horcrux is Helga Hufflepuff’s cup. He retrieves it, but Griphook snatches the sword and abandons the trio, leaving them cornered by security. The three release the dragon guardian and flee on its back. Harry sees a vision of Lord Voldemort killing goblins including Griphook, and learns Voldemort is aware of the theft. Harry also realises there is a Horcrux at Hogwarts somehow connected to Rowena Ravenclaw. The trio apparate into Hogsmeade, where Aberforth Dumbledorereluctantly instructs the portrait of his deceased younger sister Ariana to fetch Neville Longbottom, who leads the trio through a secret passageway into Hogwarts.
Severus Snape hears of Harry’s return and warns staff and students of the punishment for aiding him. Harry confronts Snape, who flees after Minerva McGonagall challenges him to a duel. McGonagall gathers the Hogwarts community for battle. At Luna Lovegood’s insistence, Harry speaks to Helena Ravenclaw’s ghost, who reveals that Voldemort performed “dark magic” on her mother’s diadem, located in the Room of Requirement. In the Chamber of Secrets, Hermione destroys Helga’s cup with a Basiliskfang before finally sharing a kiss with Ron. In the Room of Requirement, Draco, Blaise Zabini, and Gregory Goyle attack Harry, but Ron and Hermione intervene. Goyle casts a Fiendfyre curse, but is unable to control it and burns to death while Harry and his friends save Draco and Zabini. Harry stabs the diadem with the fang and Ron kicks it into the Room of Requirement to be destroyed. As Voldemort’s army attacks, Harry, seeing into his mind, realises that Voldemort’s snake Nagini is the final Horcrux.