From the Introduction
In the spring of 399 BCE, when Socrates was seventy years old, he was accused of impiety and of corrupting the youth. The chief accuser was Meletus, who was seconded by Anytus and Lyco.
[…] The question has frequently been asked, whether the Apology is substantially the speech made by Socrates before the court or a product of Plato’s imagination. In all probability it is essentially the speech delivered by Socrates, though it may well be that the actual speech was less finished and less charming than that which Plato has reported. The legal procedure is strictly followed, and the manner of speech is that which was, as we know from Plato and also from Xenophon, usual with Socrates. There is nothing inconsistent with what we know of Socrates, and no peculiarly Platonic doctrine is suggested.
Read the first lines of Plato’s text: