Crito (Plato)
Plato, who had been a student of Socrates, wrote this dialogue among many others. Socrates is often a character of Plato's works, and the dialogue between Crito and Socrates is based on the death of Socrates. Socrates did in fact get executed by drinking hemlock.