Guiteau was found guilty in a court of law and was executed by hanging .
He was executed by hanging .