Scots Law from Wikpedia

Scots law is a unique legal system with an ancient basis in Roman law.[1] Grounded in uncodified civil law dating back to the Corpus Juris Civilis, it also features elements of common law with medieval sources. Thus Scotland has a pluralistic, or 'mixed', legal system, to which South African law is comparable, and, to a lesser degree, the partly codified pluralistic systems of Louisiana and Quebec.

Since the Acts of Union, in 1707, it has shared a legislature with the rest of the United Kingdom. Scotland retained a fundamentally different legal system from that of England and Wales, but the Union brought English influence on Scots law. In recent years, Scots law has also been affected by European law under the Treaty of Rome, the requirements of the European Convention on Human Rights (entered into by members of the Council of Europe) and the establishment of the Scottish Parliament which may pass legislation within its areas of legislative competence as detailed by the Scotland Act 1998.