The Ministry of Magic is the government of the Magical community of Britain in J. K. Rowling's Wizarding World. The magical government in Britain is first mentioned in Harry Potter and the Philosopher's Stone; the Ministry makes its first proper appearance in Harry Potter and the Order of the Phoenix. Throughout the books, it is generally depicted as either corrupt, incompetent, or both, with its high officials blind to actual events and dangers. It reaches a zenith of corruption before being effectively taken over by Lord Voldemort. At the end of the final book, following Voldemort's death, Kingsley Shacklebolt takes over the ministry, changing it for the better. By the time of Harry Potter and the Cursed Child, Hermione Granger is the Minister for Magic.