Why is the capital punishment viewed negatively in the western world ?

Here in Asia there are several countries that still enforce the capital punishment on citizens while in Europe and Blue states it’s almost unheard of. What drove Europe to view the punishment negatively ?