He fought against the Death Eaters during the Battle of Hogwarts. He provided care for the injured during the armistice.
Source: Harry Potter Wiki — https://harrypotter.fandom.com/wiki/Unidentified_Hogwartian_in_a_pointed_hat_during_the_Battle_of_Hogwarts (revision 1768436). 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.