Harry decide it is time to act, so they take Professor Lockheart to Moaning Myrtle’s toilet and there they find a secret passage through one of the sinks. The boys and their hapless teacher go down the passageway. Lockheart tries to bewitch them but the curse falls on himself. Ron and Harry are separated, and Harry decides to enter the chamber alone.
The young wizard finds Ginny Weasley alive, but he also meets Tom Riddle. The latter admits that he is Lord Voldermort, the last heir of Slytherin, and he sets the basilisk onto Harry. Dumbledore’s phoenix enters the chamber and drops the Sorting Hat in Harry’s hands, whilst it punctures the basilisk’s eyes. In the Sorting Hat, Harry finds Gryffindor’s sword and with it kills the snake. The wizard destroys Tom Riddle by pushing the basilisk’s poisonous fang into the diary.
Back in Dumbledore’s office, Harry tells his story. Lucius Malfoy, furious that the headmaster is back, is accused of giving Ginny the bewitched diary. He is also tricked by Potter into freeing Dobby. The students celebrate with a midnight feast and Gryffindor win the House Cup for the second time running.