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.
Republic of Ireland
The state was created as the Irish Free State in 1922 as a result of the Anglo-Irish Treaty. It had the status of Dominion until 1937 when a new constitution was adopted, in which the state was named "Ireland" and effectively became a republic, with an elected non-executive president as head of state. It was officially declared a republic in 1949, following the Republic of Ireland Act 1948. Ireland became a member of the United Nations in December 1955. It joined the European Economic Community (EEC), the predecessor of the European Union, in 1973. The state had no formal relations with Northern Ireland for most of the twentieth century, but during the 1980s and 1990s the British and Irish governments worked with the Northern Ireland parties towards a resolution to "the Troubles". Since the signing of the Good Friday Agreement in 1998, the Irish government and Northern Ireland Executive have co-operated on a number of policy areas under the North-South Ministerial Council created by the Agreement.