The law of Northern Ireland is the legal system of statute and common law operating in Northern Ireland since the partition of Ireland established Northern Ireland as a distinct jurisdiction in 1921. Prior to 1921, Northern Ireland was part of the same legal system as the rest of Ireland. For the purposes of private international law, the United Kingdom is divided into three distinct legal jurisdictions: England and Wales; Northern Ireland and Scotland.