Public opinion played a crucial role in the abolition of the guillotine. As society's views on human rights and the death penalty evolved, there was growing discomfort with the guillotine's brutality. Djandoubi's execution fueled the debate, leading to the eventual abolition of capital punishment in France in 1981.