<P> Ginny first appears in Harry Potter and the Philosopher's Stone, when Harry encounters the Weasley family at King's Cross station and they help him to reach Platform 93⁄4 . After realizing Harry's identity, Ginny asks her mother if she can board the Hogwarts Express to see him . Ginny is a first - year student in Harry Potter and the Chamber of Secrets, in which she develops a crush on Harry and is sorted into Gryffindor . During the climax of the story, it is revealed that she opened the Chamber of Secrets, and is attacking Muggle - born students while being possessed by Tom Riddle's old school diary . Lucius Malfoy had slipped the diary into Ginny's cauldron in Flourish and Blotts prior to the term . She has little involvement in Prisoner of Azkaban, though she is studying at Hogwarts throughout the book . In Goblet of Fire, her role was larger as she attends the Quidditch World Cup and the Yule Ball with Neville Longbottom and can be seen in background appearances . </P> <P> In Order of the Phoenix, Ginny had "given up on Harry months ago" (though this is merely a ruse as Hermione previously advised her to pretend to not be as interested in Harry and go out with a few other boys so Harry would eventually notice her), and has a boyfriend, Michael Corner, whom she met at the Yule Ball . When Umbridge punishes Harry with a "lifetime" Quidditch ban, Ginny replaces him as Gryffindor Seeker . During the last part of the book, Ginny breaks up with Michael due to his sulking over Ravenclaw's defeat in the Quiddich Cup final, later replacing him with Dean Thomas . She joins Dumbledore's Army and is one of five members who accompany Harry in his attempt to rescue Sirius Black from the Department of Mysteries . Towards the end of this book Ginny participates in the battle inside the Ministry of Magic, but is forced to withdraw from the action due to a broken left ankle . </P> <P> In Half - Blood Prince, after she casts the Bat - Bogey Hex on Zacharias Smith, Professor Slughorn respects her magical abilities enough to invite her to join his "Slug Club". Ginny becomes a permanent member of the Gryffindor Quidditch team as Chaser, and substitutes for Harry as Seeker when Severus Snape puts him in detention during the Quidditch Cup final . After witnessing Ginny kissing Dean in an empty corridor, Harry has an angry internal reaction . This reaction surprises him and upon reflection, he realizes his attraction to Ginny . Since Ginny's older brother Ron vocally objects to Dean going out with his sister, Harry fears his reaction would be the same with him . Ginny's relationship with Dean ends altogether in April following an accidental nudge from Harry under the effects of Felix Felicis, which Ginny interprets as Dean unnecessarily trying to help her through the portrait hole . Ginny and Harry share their first kiss after Gryffindor again won the Quidditch Cup defeating Ravenclaw, thus initiating their relationship . This does not alter Harry's relationship with Ron as he had feared, and they are able to enjoy their relationship for a peaceful few months . After Dumbledore's death, however, Harry decides to end their relationship as he fears his love for Ginny would place her in danger . </P> <P> Propelled by the revelation that Harry, Ron, and Hermione are leaving to seek the remaining Horcruxes in Deathly Hallows, Ginny kisses Harry in her bedroom, and they realize that they both still have intense feelings for each other . She returns to Hogwarts for her sixth year, where she works with Neville and Luna on reuniting Dumbledore's Army . As Ron is on the run with Harry and Hermione, Ginny is forced to go into hiding with her family . Though underage, she takes part in the Battle of Hogwarts despite her mother's and Harry's disapproval . After Harry's supposed death, she, Hermione, and Luna take on Bellatrix Lestrange, who nearly strikes Ginny with a Killing Curse, infuriating Molly Weasley to the point of intervening and slaying Bellatrix herself . </P>

Who does ginny hex on the hogwarts express in harry potter and the half-blood prince