|Plato telling Socrates what to write... hmm.|
Socrates was not offered state appointed representation, but Euthyphro, a "good" lawyer-friend of his, offered to help Socrates after he finished prosecuting his own father for murder.
So, Socrates went at it alone. His first defense was not that unusual for a criminal trial: "They [the police and judges] are out to get me." That was the defense offered by one guy I observed in court who ignored the advice of his lawyer and testified that the police have always been jealous of how good he was with the ladies. The subsequent cross-examination on statutory rape was brutal.