The Apology of Socrates, by Plato, is a Socratic dialogue in three parts that cover the Trial of Socrates (399 BC): (i) the legal self-defence of Socrates, (ii) the verdict of the jury, and (iii) the sentence of the court.