Original sentence: After Harry defeats the Basilisk and uncovers the truth, Hagrid is freed from prison.Hagrid was expelled during his third year, after being caught in the company of Aragog, a dangerous acromantula: this already serious crime seemed worse than it was, due to the belief that the acromantula was "The Monster of Slytherin", and that Hagrid had released it from the Chamber of Secrets and allowed it to attack students
Edited sentence: After Harry defeats the Basilisk in the Chamber of Secrets and uncovers the truth, Hagrid is freed from prison.Hagrid was expelled during his third year, after being caught in the company of Aragog, a dangerous acromantula: this already serious crime seemed worse than it was, due to the belief that the acromantula was “The Monster of Slytherin”, and that Hagrid had released it from the Chamber of Secrets and allowed it to attack students.He is also very untidy