He goes to Hogwarts School of Witchcraft and Wizardry to learn magic . He attends Hogwarts School of Witchcraft and Wizardry to learn magic under the guidance of the kind headmaster Albus Dumbledore .