<P> Harry learns from Snape's memories, that while Snape despised Harry's late father, James, who had bullied him, he loved his late mother, Lily . Following her death, Snape worked secretly with Dumbledore to protect Harry from Voldemort because of his love for Lily . Harry also learns Dumbledore was dying and wanted Snape to kill him, and that the Patronus doe he saw in the woods that led him to the sword had been conjured by Snape . Harry discovers that he himself became a Horcrux when Voldemort originally failed to kill him and that Harry must die to destroy the piece of Voldemort's soul within him . Harry then surrenders himself to Voldemort in the Forbidden Forest . Voldemort casts the Killing Curse upon Harry, who finds himself in limbo, where Dumbledore's spirit meets him and explains that the part of Voldemort within Harry was killed by Voldemort's own curse . Harry then returns to his body, determined to defeat Voldemort once and for all . He fakes being dead, and Narcissa Malfoy lies to Voldemort that Harry is dead after confirming that Draco is okay . </P> <P> Voldemort triumphantly announces Harry's apparent death to everyone at Hogwarts, and demands that they all surrender . As Neville gives a defiant response and draws the Sword of Gryffindor from the Sorting Hat, Harry awakens to reveal that he is still alive . An all - out battle ensues one last time, with the Malfoys and several Death Eaters abandoning Voldemort in the process . While Harry battles Voldemort throughout the castle, Molly Weasley kills Bellatrix in the Great Hall before Neville slays Nagini with the sword--leaving Voldemort vulnerable . The confrontation between Harry and Voldemort ultimately ends with Voldemort's own Killing Curse rebounding, finally killing him and ending his reign once and for all . After the battle, Harry explains to Ron and Hermione that the Elder Wand had recognised him as its true master because he had disarmed Draco, who earlier had disarmed its previous owner--Dumbledore . But, instead of claiming the Elder Wand, Harry breaks and discards it . </P> <P> Nineteen years later, the former Hogwarts students proudly watch their own children leave for Hogwarts at King's Cross station . </P> <Ul> <Li> Daniel Radcliffe as Harry Potter </Li> <Li> Rupert Grint as Ron Weasley, Harry's best friend . </Li> <Li> Emma Watson as Hermione Granger, Harry's other best friend, and the brain of the trio . </Li> <Li> Helena Bonham Carter as Bellatrix Lestrange, a Death Eater and Sirius Black's cousin and murderer . </Li> <Li> Robbie Coltrane as Rubeus Hagrid, Harry's half - giant friend and a former member of the staff of Hogwarts . </Li> <Li> Warwick Davis as Filius Flitwick, the Charms master and Head of the Ravenclaw house at Hogwarts; and Griphook, a goblin and former employee at Gringotts Bank . </Li> <Li> Tom Felton as Draco Malfoy, Harry's former school rival, a Death Eater, and son of Lucius and Narcissa Malfoy (Helen McCrory). </Li> <Li> Ralph Fiennes as Lord Voldemort, a twisted, evil, power - hungry, powerful wizard, and the founder and supreme leader of the Death Eaters . </Li> <Li> Michael Gambon as Albus Dumbledore, the late headmaster of Hogwarts </Li> <Li> John Hurt as Mr. Ollivander, a wandmaker abducted by the Death Eaters . </Li> <Li> Jason Isaacs as Lucius Malfoy, Draco Malfoy's father and a disgraced Death Eater . </Li> <Li> Kelly Macdonald as Helena Ravenclaw, the ghost of Ravenclaw at Hogwarts . </Li> <Li> Gary Oldman as Sirius Black, Harry's late godfather . </Li> <Li> Alan Rickman as Severus Snape, former Head of the Slytherin House and Potions and Defence Against the Dark Arts teacher and the new headmaster of Hogwarts . </Li> <Li> Maggie Smith as Minerva McGonagall, the Transfiguration teacher and the Head of the Gryffindor house at Hogwarts . </Li> <Li> David Thewlis as Remus Lupin, a member of the Order of the Phoenix and a former Defence Against the Dark Arts teacher at Hogwarts . </Li> <Li> Julie Walters as Molly Weasley, the Weasley matriarch </Li> </Ul>

What happened at the end of harry potter and the deathly hallows part 2