The Troubles
The Government of Ireland Act 1920 partitioned the island of Ireland into two separate jurisdictions, Southern Ireland and Northern Ireland, both devolved regions of the United Kingdom. This partition of Ireland was confirmed when the Parliament of Northern Ireland exercised its right in December 1922 under the Anglo-Irish Treaty of 1921 to ""opt out"" of the newly established Irish Free State. A part of the treaty signed in 1922 mandated that a boundary commission would sit to decide where the frontier of the northern state would be in relation to its southern neighbour. After the Irish Civil War of 1922–1923, this part of the treaty was given less priority by the new Dublin government led by W. T. Cosgrave, and was quietly dropped. As counties Fermanagh and Tyrone and border areas of Londonderry, Armagh, and Down were mainly nationalist, the Irish Boundary Commission could reduce Northern Ireland to four counties or less.
Ireland–United Kingdom relations
19th century violent and constitutional campaigns for autonomy or independence culminated in an election in 1918 returning almost 70% of seats to Sinn Féin, who declared Irish independence from Britain and set up a parliament in Dublin, and declared the independence of Ireland from the United Kingdom. A war of independence followed that ended with the Anglo-Irish Treaty of 1922, which partitioned Ireland between the Irish Free State, which gained dominion status within the British Empire, and a devolved administration in Northern Ireland, which remained part of the UK. In 1937, Ireland declared itself fully independent of the United Kingdom.