Hogwarts song, each student in turn is seated upon the stool in front of the rest of the student body. The Hat is placed on the student's head, whereupon it examines his or her mind and assigns them to one of the four Houses based on abilities, personality, and preferences. After the Sorting Ceremony, the students and teachers enjoy a feast, prepared by the Hogwarts house-elves. If Dumbledore is feeling cheerful, he will lead the students in singing the school song. Hogwarts is divided into four houses, each bearing the last name of its founder: Godric Gryffindor, Salazar Slytherin, Rowena Ravenclaw
Hogwarts staff and later fired. However, Professor Trelawney continues to reside in Hogwarts castle due to an order by Dumbledore, who believes that she would be in danger outside Hogwarts due to the prophecy she made during her interview. Dumbledore later reveals that the prophecy is why he keeps her employed as a Divination teacher. Professor Trelawney returns to teaching in "Half-Blood Prince", but has to share classes with Firenze, as he was cast out by his fellow centaurs when he agreed to replace Professor Trelawney after she was fired, which she thinks is an outrage. In "Harry Potter and the Deathly