Capital punishment is a legal penalty in Russia, but is not used due to a moratorium and no death sentences or executions have occurred since 2 August 1996. Russia has a moratorium implicitly established by President Boris Yeltsin in 1996, and explicitly established by the Constitutional Court of Russia in 1999 and reaffirmed in 2009. In pre-Tsarist medieval Russia, capital punishment was relatively rare, and was even banned in many, if not most, principalities. The Law of Yaroslavl (c. 1017) put restrictions on what crimes warranted execution. Later, the law was amended in much of the country to completely ban capital punishment. Medieval Russia practiced the death penalty extensively. One of the first legal documents resembling a modern penal code was enacted in 1398, which mentioned a single capital crime: a theft performed after two prior convictions (an early precursor to the current three-strikes laws existing in several U.S. states). The Pskov Code of 1497 extends this list significantly, mentioning three specialized theft instances (those committed in a church, stealing a horse, or, as before, with two prior "strikes"), as well as arson and treason. The trend to increase the number of capital crimes continued: in 1649, this list included 63 crimes, a figure that nearly doubled during the reign of Tsar Peter I (Peter the Great). The methods of execution were extremely cruel by modern standards and included drowning, burying alive, and forcing liquid metal into the throat. Elizabeth (reigned 1741–1762) did not share her father Peter's views on the death penalty, and officially suspended it in 1745, effectively enacting a moratorium. This lasted for 11 years, at which point the death penalty was permitted again, after considerable opposition to the moratorium from both the nobility and, in part, from the Empress herself. Perhaps the first public statement on the matter to be both serious and strong came from Catherine II (Catherine the Great), whose liberal views were consistent with her acceptance of the Enlightenment.