Right at the back of the Hogwarts library was the Restricted Section. Separated from the main part of the library by a rope, it could only be accessed by students if they had written permission from a teacher. This was because it contained books that were full of powerful Dark Magic not taught at Hogwarts. These books were only accessed by older students who were studying advanced Defence Against the Dark Arts.