He served as the Headmaster of Hogwarts School of Witchcraft and Wizardry. His portrait provides advice to the current Headmaster of Hogwarts.
Source: Harry Potter Wiki — https://harrypotter.fandom.com/wiki/Unidentified_sleeping_Headmaster_with_astrolabe (revision 1751590). 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.