the trial was due questioning democracy and leading to an extremely violent coup.
that's like saying the civil war was because state rights.
keep in mind that Aristotle and Plato were extremely influential and enmeshed in the political elite (Alexander the Great). their views and erasure of that genocide was intentional.
That trial was for the Athenian genocide, and he was found guilty of corrupting the youth, that what it meant.
i get that a comedy play calling Socrates a grifter isn't proof, but just part of the evidence that contemporaries thought he was one.