The Greek philosopher Socrates was sentenced to death for corrupting the minds of Athens’s youth.

He chose not to flee the city and take his execution by drinking hemlock, a highly poisonous plant from the carrot family.

In 399 BC, Socrates was charged with corrupting the minds of the youth of Athens and with not believing in the gods of the state. He was found guilty by the Council of Athenian citizens and condemned to death by poison. The jury was composed of Athenian citizens who voted by a majority to find him guilty.

Source