Hermione Granger is crucial to Harry and Ron in their successful mission to solve the mystery of the Chamber of Secrets. Hermione is revived after Harry kills the basilisk, but she is distraught to learn that all end-of-year exams have been cancelled as a school treat. Hermione buys a cat named Crookshanks, who takes to chasing Ron's pet rat, Scabbers. Before the start of term, Professor McGonagall secretly gives Hermione a Time-Turner, a device which enables her to go back in time and handle her heavy class schedule, though this is not revealed until the penultimate chapter. Much tension comes into play
Harry Potter and the Goblet of Fire and Harry learns that Black was framed and is actually Harry's godfather. He also learned that it was his father's old school friend Peter Pettigrew who actually betrayed his parents. The book opens with Harry seeing Frank Bryce being killed by Lord Voldemort in a vision, and is awoken by his scar hurting. The Weasleys then take Harry and Hermione Granger to the Quidditch World Cup, using a Portkey, to watch Ireland versus Bulgaria, with Ireland emerging victorious. There, Harry meets Cedric Diggory, who is attending the match with his father. After the match, Voldemort's followers attack the site, destroying