After the Union with England, Scotland retained its unique legal system. The Scottish system is based on the Roman law or civil law, the English inspired common law and native custom.
See Also English Law (also applies to Wales) European Union Law List of United Kingdom topics