quality:corruption
Law

By tradition, Welsh Law was compiled during an assembly held at Whitland around 930 by Hywel Dda, king of most of Wales between 942 and his death in 950. The ' law of Hywel Dda ' (Welsh: Cyfraith Hywel), as it became known, codified the previously existing folk laws and legal customs that had evolved in Wales over centuries. Welsh Law emphasised the payment of compensation for a crime to the victim, or the victim's kin, rather than punishment by the ruler. Other than in the Marches, where March law was imposed by the Marcher Lords, Welsh Law remained in force in Wales until the Statute of Rhuddlan in 1284. Edward I of England annexed the Principality of Wales following the death of Llywelyn ap Gruffudd, and Welsh Law was replaced for criminal cases under the Statute. Marcher Law and Welsh Law (for civil cases) remained in force until Henry VIII of England annexed the whole of Wales under the Laws in Wales Acts 1535 and 1542 (often referred to as the Acts of Union of 1536 and 1543), after which English law applied to the whole of Wales. The Wales and Berwick Act 1746 provided that all laws that applied to England would automatically apply to Wales (and the Anglo-Scottish border town of Berwick) unless the law explicitly stated otherwise; this Act was repealed with regard to Wales in 1967. English law has been the legal system of England and Wales since 1536.

English law is regarded as a common law system, with no major codification of the law and legal precedents are binding as opposed to persuasive. The court system is headed by the Supreme Court of the United Kingdom which is the highest court of appeal in the land for criminal and civil cases. The Senior Courts of England and Wales is the highest court of first instance as well as an appellate court. The three divisions are the Court of Appeal, the High Court of Justice, and the Crown Court. Minor cases are heard by magistrates' courts or the County Court. In 2007 the Wales and Cheshire Region (known as the Wales and Cheshire Circuit before 2005) came to an end when Cheshire was attached to the North-Western England Region. From that point, Wales became a legal unit in its own right, although it remains part of the single jurisdiction of England and Wales.

The Senedd has the authority to draft and approve laws outside of the UK Parliamentary system to meet the specific needs of Wales. Under powers approved by a referendum held in March 2011, it is empowered to pass primary legislation, at the time referred to as an Act of the National Assembly for Wales but now known as an Act of Senedd Cymru in relation to twenty subjects listed in the Government of Wales Act 2006 such as health and education. Through this primary legislation, the Welsh Government can then also enact more specific subordinate legislation.

Wales is served by four regional police forces: Dyfed-Powys Police, Gwent Police, North Wales Police, and South Wales Police. There are five prisons in Wales: four in the southern half of the country, and one in Wrexham. Wales has no women's prisons: female inmates are imprisoned in England.