Capital punishment is a long unused form of punishment in Brazil. The last recorded instance of a death penalty convict being executed in the country was in 1876. Although virtually abolished, it is still legal during wartime, according to the Article 5, XLVII, "a", of the Federal Constitution. Brazil is the most populous country in the world that does not retain the death penalty in practice (Mexico is the most populous to have abolished it entirely). It is also one of seven countries to have abolished capital punishment for ordinary crimes only.