Harry and Fred and George Weasley come help her. They fight and kill the troll but not before Hermione is too gravely injured. Hermione's death revolts Harry who forms the resolve to bring her back to life at any cost, which triggers Sybill Trelawney's prophecy about him ending the world.