Why was Socrates Sentenced to Death?

Socrates was sentenced to death because he was found guilty of corrupting youth and because he did not believe in the ancestral gods. He was tried by the democratic court of Athens at age 70.