Also worth reading, I. F. Stone’s “The Trial of Socrates” that sets the context. TL:DR Socrates was deeply involved with a group of Quisling aristocrats who briefly overthrew democracy with Sparta’s help. Athens’ withdrawal agreement with Sparta stipulated amnesty for the collaborators, so they used the roundabout prosecution. They were not going to execute him, just strip him of his civic rights, but his arrogant conduct during the trial so incensed the jurors that more voted for the death penalty than had voted to convict him.
Otherwise, it’s important to remember Plato sock-puppets Socrates, who had no truck with the newfangled and subversive invention of writing and thus could not correct the record. What is clear is that Plato, a disgruntled aristocrat himself, exiled for being part of the quisling faction, was a proto-fascist far beyond the wildest dreams of a Stalin or Hitler. But philosophy teachers like the conceit of a philosopher-king and that’s why he hasn’t been consigned to the trash heap of history where he belongs.
Also worth reading, Donald Kagan's [1] "The Trial of Socrates, by I.F. Stone" [2] that sets the context of this context. TL;DR Stone's story is not very strong.
[1] eminent historian of ancient Greece, https://de.wikipedia.org/wiki/Donald_Kagan
[2] https://www.commentary.org/articles/donald-kagan/the-trial-o...