Fifty-six countries retain capital punishment, 103 countries have completely abolished it de jure for all crimes, six have abolished it for ordinary crimes (while maintaining it for special circumstances such as war crimes), and 30 are abolitionist in practice.
Capital punishment is a matter of active controversy in several countries and states, and positions can vary within a single political ideology or cultural region. In the European Union, Article 2 of the Charter of Fundamental Rights of the European Union prohibits the use of capital punishment. The Council of Europe, which has 47 member states, has sought to abolish the use of the death penalty by its members absolutely, through Protocol 13 of the European Convention on Human Rights. However, this only affects those member states which have signed and ratified it, and they do not include Armenia, Russia, and Azerbaijan.
The United Nations General Assembly has adopted, in 2007, 2008, 2010, 2012 and 2014, non-binding resolutions calling for a global moratorium on executions, with a view to eventual abolition. Although most nations have abolished capital punishment, over 60% of the world's population live in countries where the death penalty is retained, such as China, India, the United States, Indonesia, Pakistan, Bangladesh, Japan and Sri Lanka.
Execution of criminals has been used by nearly all societies. Until the nineteenth century without developed prison systems, there was frequently no workable alternative to insure deterrence and incapacitation of criminals. The execution itself was often involving torture with cruel methods such as the breaking wheel.
The use of formal execution extends to the beginning of recorded history. Most historical records and various primitive tribal practices indicate that the death penalty was a part of their justice system. Communal punishment for wrongdoing generally included compensation by the wrongdoer, corporal punishment, shunning, banishment and execution. Usually, compensation and shunning were enough as a form of justice. The response to crime committed by neighbouring tribes or communities included a formal apology, compensation or blood feuds.