Most nations today follow one of two major legal traditions: common law or civil law. The common law tradition emerged in England during the Middle Ages and was applied within British colonies across continents. The civil law tradition developed in continental Europe at the same time and was applied in the colonies of European imperial powers such as Spain and Portugal. Civil law was also adopted in the nineteenth and twentieth centuries by countries formerly possessing distinctive legal traditions, such as Russia and Japan, that sought to reform their legal systems in order to gain economic and political power comparable to that of Western European nation-states.