Scots law is the legal system of Scotland. It is a hybrid or mixed legal system containing civil law and common law elements, that traces its roots to a number of different historical sources. Together with English law and Northern Irish law, it is one of the three legal systems of the United Kingdom.
Early Scots law before the 12th century consisted of the different legal traditions of the various cultural groups who inhabited the country at the time, the Gaels in most of the country, with the Britons and Anglo-Saxons in some districts south of the Forth and with the Norse in the islands and north of the River Oykel. The introduction of feudalism from the 12th century and the expansion of the Kingdom of Scotland established the modern roots of Scots law, which was gradually influenced by other, especially Anglo-Norman and continental legal traditions. Although there was some indirect Roman law influence on Scots law, the direct influence of Roman law was slight up until around the 15th century. After this time, Roman law was often adopted in argument in court, in an adapted form, where there was no native Scots rule to settle a dispute; and Roman law was in this way partially received into Scots law.
Scots law recognises four sources of law: legislation, legal precedent, specific academic writings, and custom. Legislation affecting Scotland may be passed by the Scottish Parliament, the United Kingdom Parliament, and the European Union. Some legislation passed by the pre-1707 Parliament of Scotland is still also valid.