Socrates was charged with impiety and corrupting the youth of Athens, which ultimately led to his trial and execution.