He was a student at Hogwarts School of Witchcraft and Wizardry sorted into Slytherin House. He was imprisoned in the dungeons with his housemates before escaping to fight in the Battle of Hogwarts.
Source: Harry Potter Wiki — https://harrypotter.fandom.com/wiki/Unidentified_Slytherin_boy_in_the_Battle_of_Hogwarts (revision 1838493). 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.