Garfield's assassination adds an interesting twist to your question. Guiteau was a bit insane, had previously been comitted but escaped (before Garfield's assassination), acted very peculiar at his trial, but the jury seemed to believe he was trying to avoid responability for his actions and convicted him anyway.
At his execution, he requested a band to play along while he recited a poem he had written. The request for the band was denied.