Question: When did the first country mentioned gain independence and establish a unified government?

full_context: Document 1: Middle Ages: The ecclesiastical structure of the Roman Empire survived the movements and invasions in the west mostly intact, but the papacy was little regarded, and few of the western bishops looked to the bishop of Rome for religious or political leadership. Many of the popes prior to 750 were more concerned with Byzantine affairs and eastern theological controversies. The register, or archived copies of the letters, of Pope Gregory the Great (pope 590–604) survived, and of those more than 850 letters, the vast majority were concerned with affairs in Italy or Constantinople. The only part of Western Europe where the papacy had influence was Britain, where Gregory had sent the Gregorian mission in 597 to convert the Anglo-Saxons to Christianity. Irish missionaries were most active in Western Europe between the 5th and the 7th centuries, going first to England and Scotland and then on to the continent. Under such monks as Columba (d. 597) and Columbanus (d. 615), they founded monasteries, taught in Latin and Greek, and authored secular and religious works.
Document 2: Education: After the Fall of Rome, the Catholic Church became the sole preserver of literate scholarship in Western Europe. The church established cathedral schools in the Early Middle Ages as centers of advanced education. Some of these establishments ultimately evolved into medieval universities and forebears of many of Europe's modern universities. During the High Middle Ages, Chartres Cathedral operated the famous and influential Chartres Cathedral School. The medieval universities of Western Christendom were well-integrated across all of Western Europe, encouraged freedom of inquiry, and produced a great variety of fine scholars and natural philosophers, including Thomas Aquinas of the University of Naples, Robert Grosseteste of the University of Oxford, an early expositor of a systematic method of scientific experimentation, and Saint Albert the Great, a pioneer of biological field research. Founded in 1088, the University of Bologne is considered the first, and the oldest continually operating university.
Document 3: History of Ireland: Unwilling to negotiate any understanding with Britain short of complete independence, the Irish Republican Army, the army of the newly declared Irish Republic, waged a guerilla war (the Irish War of Independence) from 1919 to 1921. In the course of the fighting and amid much acrimony, the Fourth Government of Ireland Act 1920 implemented Home Rule while separating the island into what the British government's Act termed ``Northern Ireland ''and`` Southern Ireland''. In July 1921 the Irish and British governments agreed to a truce that halted the war. In December 1921 representatives of both governments signed an Anglo - Irish Treaty. The Irish delegation was led by Arthur Griffith and Michael Collins. This abolished the Irish Republic and created the Irish Free State, a self - governing Dominion of the Commonwealth of Nations in the manner of Canada and Australia. Under the Treaty, Northern Ireland could opt out of the Free State and stay within the United Kingdom: it promptly did so. In 1922 both parliaments ratified the Treaty, formalising independence for the 26 - county Irish Free State (which renamed itself Ireland in 1937, and declared itself a republic in 1949); while the 6 - county Northern Ireland, gaining Home Rule for itself, remained part of the United Kingdom. For most of the next 75 years, each territory was strongly aligned to either Catholic or Protestant ideologies, although this was more marked in the six counties of Northern Ireland.
Document 4: United Kingdom of Great Britain and Ireland: The United Kingdom of Great Britain and Ireland was established as a sovereign state on 1 January 1801 by the Acts of Union 1800, which merged the kingdoms of Great Britain and Ireland. The growing desire for an Irish Republic led to the Irish War of Independence, which resulted in Ireland seceding from the Union and forming the Irish Free State in 1922. Northern Ireland remained part of the United Kingdom, and the state was consequently renamed the ``United Kingdom of Great Britain and Northern Ireland ''.
Document 5: History of Ireland: Patrick is traditionally credited with preserving and codifying Irish laws and changing only those that conflicted with Christian practices. He is credited with introducing the Roman alphabet, which enabled Irish monks to preserve parts of the extensive oral literature. The historicity of these claims remains the subject of debate and there is no direct evidence linking Patrick with any of these accomplishments. The myth of Patrick, as scholars refer to it, was developed in the centuries after his death.Irish scholars excelled in the study of Latin learning and Christian theology in the monasteries that flourished shortly thereafter. Missionaries from Ireland to England and Continental Europe spread news of the flowering of learning, and scholars from other nations came to Irish monasteries. The excellence and isolation of these monasteries helped preserve Latin learning during the Early Middle Ages. The period of Insular art, mainly in the fields of illuminated manuscripts, metalworking, and sculpture flourished and produced such treasures as the Book of Kells, the Ardagh Chalice, and the many carved stone crosses that dot the island. Insular style was to be a crucial ingredient in the formation of the Romanesque and Gothic styles throughout Western Europe. Sites dating to this period include clochans, ringforts and promontory forts.
Document 6: Catholic Church in Ireland: Catholic Church in Ireland Eaglais Chaitliceach na hÉireann St Patrick's Cathedral, Armagh. Type National polity Orientation Catholic Church Governance Episcopal Pope Pope Francis Primate of All Ireland Eamon Martin Apostolic Nuncio Jude Thaddeus Okolo Region Island of Ireland Language English, Irish, Latin Headquarters Ara Coeli, Armagh, Northern Ireland Founder St. Patrick, by tradition. Origin Claims continuity with Celtic Christianity c. 430. Roman diocesan structure introduced c. 1111 at Synod of Ráth Breasail. Separations Church of Ireland (1536 / 1871) Members 3,729,000 (2016) Official website Irish Bishops' Conference
Document 7: Saint Patrick's Day: According to tradition, Patrick returned to Ireland to convert the pagan Irish to Christianity. The Declaration says that he spent many years evangelising in the northern half of Ireland and converted "thousands". Patrick's efforts against the druids were eventually turned into an allegory in which he drove "snakes" out of Ireland, despite the fact that snakes were not known to inhabit the region.
Document 8: The Troubles: The Troubles (Irish: Na Trioblóidí) was an ethno - nationalist conflict in Northern Ireland during the late 20th century. Also known internationally as the Northern Ireland conflict, and the Conflict in Ireland it is sometimes described as a ``guerrilla war ''or a`` low - level war''. The conflict began in the late 1960s and is usually deemed to have ended with the Good Friday Agreement of 1998. Although the Troubles primarily took place in Northern Ireland, at times the violence spilled over into parts of the Republic of Ireland, England, and mainland Europe.
Document 9: Normans: The Normans had a profound effect on Irish culture and history after their invasion at Bannow Bay in 1169. Initially the Normans maintained a distinct culture and ethnicity. Yet, with time, they came to be subsumed into Irish culture to the point that it has been said that they became "more Irish than the Irish themselves." The Normans settled mostly in an area in the east of Ireland, later known as the Pale, and also built many fine castles and settlements, including Trim Castle and Dublin Castle. Both cultures intermixed, borrowing from each other's language, culture and outlook. Norman descendants today can be recognised by their surnames. Names such as French, (De) Roche, Devereux, D'Arcy, Treacy and Lacy are particularly common in the southeast of Ireland, especially in the southern part of County Wexford where the first Norman settlements were established. Other Norman names such as Furlong predominate there. Another common Norman-Irish name was Morell (Murrell) derived from the French Norman name Morel. Other names beginning with Fitz (from the Norman for son) indicate Norman ancestry. These included Fitzgerald, FitzGibbons (Gibbons) dynasty, Fitzmaurice. Other families bearing such surnames as Barry (de Barra) and De Búrca (Burke) are also of Norman extraction.
Document 10: British Empire: In 1919, the frustrations caused by delays to Irish home rule led members of Sinn Féin, a pro-independence party that had won a majority of the Irish seats at Westminster in the 1918 British general election, to establish an Irish assembly in Dublin, at which Irish independence was declared. The Irish Republican Army simultaneously began a guerrilla war against the British administration. The Anglo-Irish War ended in 1921 with a stalemate and the signing of the Anglo-Irish Treaty, creating the Irish Free State, a Dominion within the British Empire, with effective internal independence but still constitutionally linked with the British Crown. Northern Ireland, consisting of six of the 32 Irish counties which had been established as a devolved region under the 1920 Government of Ireland Act, immediately exercised its option under the treaty to retain its existing status within the United Kingdom.
Document 11: History of the Republic of Ireland: The Irish state came into being in 1922 as the Irish Free State, a dominion of the British Commonwealth, having seceded from the United Kingdom under the Anglo - Irish Treaty. It comprises 26 of the island of Ireland's 32 counties. The 1937 constitution renamed the state Ireland. In 1949 it explicitly became a republic, definitively ending its tenuous membership of the British Commonwealth. In 1973 it joined the European Communities.
Document 12: British Isles: Anglo-Saxons arrived as Roman power waned in the 5th century AD. Initially, their arrival seems to have been at the invitation of the Britons as mercenaries to repulse incursions by the Hiberni and Picts. In time, Anglo-Saxon demands on the British became so great that they came to culturally dominate the bulk of southern Great Britain, though recent genetic evidence suggests Britons still formed the bulk of the population. This dominance creating what is now England and leaving culturally British enclaves only in the north of what is now England, in Cornwall and what is now known as Wales. Ireland had been unaffected by the Romans except, significantly, having been Christianised, traditionally by the Romano-Briton, Saint Patrick. As Europe, including Britain, descended into turmoil following the collapse of Roman civilisation, an era known as the Dark Ages, Ireland entered a golden age and responded with missions (first to Great Britain and then to the continent), the founding of monasteries and universities. These were later joined by Anglo-Saxon missions of a similar nature.
Document 13: Northern Ireland: Northern Ireland was created in 1921, when Ireland was partitioned between Northern Ireland and Southern Ireland by the Government of Ireland Act 1920. Unlike Southern Ireland, which would become the Irish Free State in 1922, the majority of Northern Ireland's population were unionists, who wanted to remain within the United Kingdom. Most of these were the Protestant descendants of colonists from Great Britain. However, a significant minority, mostly Catholics, were nationalists who wanted a united Ireland independent of British rule. Today, the former generally see themselves as British and the latter generally see themselves as Irish, while a distinct Northern Irish or Ulster identity is claimed both by a large minority of Catholics and Protestants and by many of those who are non-aligned.
Document 14: Old English: Old English contained a certain number of loanwords from Latin, which was the scholarly and diplomatic lingua franca of Western Europe. It is sometimes possible to give approximate dates for the borrowing of individual Latin words based on which patterns of sound change they have undergone. Some Latin words had already been borrowed into the Germanic languages before the ancestral Angles and Saxons left continental Europe for Britain. More entered the language when the Anglo-Saxons were converted to Christianity and Latin-speaking priests became influential. It was also through Irish Christian missionaries that the Latin alphabet was introduced and adapted for the writing of Old English, replacing the earlier runic system. Nonetheless, the largest transfer of Latin-based (mainly Old French) words into English occurred after the Norman Conquest of 1066, and thus in the Middle English rather than the Old English period.
Document 15: History of Ireland: In 1922, after the Irish War of Independence and the Anglo - Irish Treaty, most of Ireland seceded from the United Kingdom to become the independent Irish Free State, which after the 1937 constitution, began to call itself Ireland. The six northeastern counties, known as Northern Ireland, remained within the United Kingdom. The Irish Civil War followed soon after the War of Independence. The history of Northern Ireland has since been dominated by sporadic sectarian conflict between (mainly Catholic) Irish nationalists and (mainly Protestant) unionists. This conflict erupted into the Troubles in the late 1960s, until peace was achieved with the Belfast Agreement thirty years later.
ground_truth: 1922
sub_queries: What is the first country mentioned? Answer: Ireland
when did Ireland gain independence and establish a unified government Answer: 1922