Republic of Ireland–United Kingdom border
Originally intended as an internal boundary within the United Kingdom of Great Britain and Ireland, the border was created in 1921 under the United Kingdom Parliament's Government of Ireland Act 1920. Prior to this, a separatist Irish parliament had been established in Dublin, which did not recognise the Government of Ireland Act, and was actively engaged in the Irish War of Independence. The Act was intended to deliver Home Rule in Ireland, with separate parliaments for Southern Ireland (which included three of the nine counties of Ulster) and Northern Ireland. Six of the thirty-two counties of Ireland were assigned to Northern Ireland, and the rest of Ireland comprising 26 counties to Southern Ireland.
Royal and Parliamentary Titles Act 1927
As a result of the Anglo-Irish Treaty, in 1922 most of Ireland was detached from the United Kingdom of Great Britain and Ireland to become the Irish Free State. However, six north-eastern counties remained united with Great Britain as Northern Ireland.