That, what civilized countries do. Have a court trial, have a sentence. Lifetime prison is an option or psychiatry institution or other. Definitely no death sentence. But the sentence is a matter of judges, not executed by uneducated, uncivilized citizens.