The beginnings of Russian law are documented by the Russo-Byzantine treaties of the 10th century and the oldest Russian law, the Russkaia Pravda.
The tempestuous developments of the following centuries (the incessant wars among the princes, the Mongol invasion, the rise of the Novgorod republic) all left their marks on the legal system until the princes of Muscovy succeeded in reuniting the country.
This resulted in the creation of major legislative monuments, such as the Codes of Ivan the Great of 1497 and of Ivan the Terrible of 1550. After the Time of Troubles the Council Code of the second Romanov Tsar, Aleksei, of 1649 became the starting point for the comprehensive Russian codification of the 19th century.