Sophocles is a student at the Pokémon School on Melemele Island and one of Ash's former classmates. He debuted in Alola to New Adventure! (SM001).
(Source: Bulbapedia)