He served as the Headmaster of Hogwarts School of Witchcraft and Wizardry. His portrait provides advice to the current head of Hogwarts.
Source: Harry Potter Wiki — https://harrypotter.fandom.com/wiki/Unidentified_Headmaster_with_scroll (revision 1692322). Text adapted under CC BY-SA; license and attribution: https://harrypotter.fandom.com/wiki/Harry_Potter_Wiki%3ACopyrights. Opening and sample dialogue are original roleplay; portrait is AI-generated.