Voldemort appeared in the Ministry of Magic and was seen by a number of people, including Cornelius Fudge—Dumbledore was restored as the Headmaster. Umbridge, who had been in the school's Hospital Wing, attempted to leave the castle without anyone noticing. Peeves the Poltergeist discovered her and chased her out, beating her over the head alternatively with a walking stick and a sock full of chalk, leading a crowd of students. Professor Minerva McGonagall expressed regret at not being able to chase Umbridge herself because Peeves had borrowed her walking stick and she was not fully recovered.Return to the MinistryUmbridge later returned to the position of Senior Under-Secretary at the Ministry and told the new Minister, Rufus Scrimgeour about Harry's wish to become an Auror (to Harry's anger). She was later seen at Albus Dumbledore's funeral at Hogwarts, though she did not speak.Following Voldemort's takeover of the Ministry of Magic in 1997, Umbridge resumed her post as Under-Secretary and oversaw the registration and persecution of Muggle-born witches and wizards. She conducted trials with sadistic pleasure, subjecting innocent Muggle-borns to the presence of Dementors and sending them to Azkaban for supposedly stealing magic from "real" witches and wizards. She also wrote the propaganda pamphlet Mudbloods and the Dangers They Pose to a Peaceful Pure-Blood Society.Following Alastor Moody's murder at the hands of Death Eaters in the Battle over Little Whinging, Umbridge took possession of his "mad eye." Affixing it to her office door, she was able to terrorize all Ministry employees with the mere concept that she could observe their every move. This, in addition to her manner of causing general misery, would suggest that Umbridge was in league with Voldemort, though it was never explicitly stated until she was seen working with Death Eater Yaxley. At some point, Umbridge received a locket as a bribe from petty thief Mundungus Fletcher. This locket was, in fact, Salazar Slytherin's locket, the one once owned by Merope Gaunt as well as Hepzibah Smith. Although Umbridge was unaware that the locket was one of Voldemort's Horcruxes (or belonged to him at all), she chose to lie about the meaning of the cloisonné S, stating it was a Selwyn family heirloom, a name which she believed would bolster her Pure-Blood credentials, ( the family has dark connections as a Death Eater who responds to Xenophilius Lovegood was named thus, meaning that Dolores chose the name as it commanded a degree of respect among the supporters of Lord Voldemort's regime). She boasted of this supposed connection to Hermione Granger, who was in the guise of Ministry employee Mafalda Hopkirk, during one of Umbridge's blood purity hearings. At that moment, full of rage, Harry Potter attacked both Umbridge and Yaxley. Umbridge was stunned, leaving Harry and Hermione free to snatch the locket from around Umbridge's neck and flee the scene. Hermione created a copy of the locket to leave with Umbridge, so that she did not become suspicious.It is not clear exactly why Umbridge felt it necessary to emphasize her wizarding ancestry, though in the case of some other wizards this has been because they wished to distract attention from some non-wizarding ancestors. When the locket was in the possession of Harry Potter and companions, it exerted a malign influence on each of them when they wore it. Due to Umbridge's nature, the Horcrux, rather than impart a negative effect on her, actually strengthened her. After Voldemort's demise and the revolution of the Ministry of Magic by Kingsley Shacklebolt, Umbridge was arrested, tried and sent to Azkaban for her crimes against Muggle-borns.