He was just a complete nutbag. He wrote a poem in the style of “a child babbling to his mamma and his papa” which repeated “I am going to the Lordy” over and over again and read it on the way up to the gallows.
Check out the excerpts from his trial and what he said at his sentencing: