Question: When was the country that Berngal belongs to first invaded by the British?

full_context: Document 1: Idwal ap Meurig: He was the son of Meurig ab Idwal Foel, who, though the rightful heir to the throne, was killed in 986, in the course of one of the many struggles for the kingship which characterised the period from the death of Hywel Dda in 950 until the time of Gruffydd ap Llywelyn. Idwal, on the death of his father, fled for safety to the collegiate establishment at Llancarfan. Maredudd ab Owain then succeeded in usurping the sovereignty of Gwynedd, and a few years after he marched on Glamorgan with an army of Danish mercenaries and laid waste the country; his object was to seize the fugitive Idwal, but in this he was unsuccessful.
Document 2: John, King of England: John had spent the conflict travelling alongside his father, and was given widespread possessions across the Angevin empire as part of the Montlouis settlement; from then onwards, most observers regarded John as Henry II's favourite child, although he was the furthest removed in terms of the royal succession. Henry II began to find more lands for John, mostly at various nobles' expense. In 1175 he appropriated the estates of the late Earl of Cornwall and gave them to John. The following year, Henry disinherited the sisters of Isabelle of Gloucester, contrary to legal custom, and betrothed John to the now extremely wealthy Isabelle. In 1177, at the Council of Oxford, Henry dismissed William FitzAldelm as the Lord of Ireland and replaced him with the ten-year-old John.
Document 3: British Isles: Hiberni (Ireland), Pictish (northern Britain) and Britons (southern Britain) tribes, all speaking Insular Celtic, inhabited the islands at the beginning of the 1st millennium AD. Much of Brittonic-controlled Britain was conquered by the Roman Empire from AD 43. The first Anglo-Saxons arrived as Roman power waned in the 5th century and eventually dominated the bulk of what is now England. Viking invasions began in the 9th century, followed by more permanent settlements and political change—particularly in England. The subsequent Norman conquest of England in 1066 and the later Angevin partial conquest of Ireland from 1169 led to the imposition of a new Norman ruling elite across much of Britain and parts of Ireland. By the Late Middle Ages, Great Britain was separated into the Kingdoms of England and Scotland, while control in Ireland fluxed between Gaelic kingdoms, Hiberno-Norman lords and the English-dominated Lordship of Ireland, soon restricted only to The Pale. The 1603 Union of the Crowns, Acts of Union 1707 and Acts of Union 1800 attempted to consolidate Britain and Ireland into a single political unit, the United Kingdom of Great Britain and Ireland, with the Isle of Man and the Channel Islands remaining as Crown Dependencies. The expansion of the British Empire and migrations following the Irish Famine and Highland Clearances resulted in the distribution of the islands' population and culture throughout the world and a rapid de-population of Ireland in the second half of the 19th century. Most of Ireland seceded from the United Kingdom after the Irish War of Independence and the subsequent Anglo-Irish Treaty (1919–1922), with six counties remaining in the UK as Northern Ireland.
Document 4: Edmund I: Edmund came to the throne as the son of Edward the Elder, and therefore the grandson of Alfred the Great, great-grandson of Æthelwulf of Wessex and great-great grandson of Egbert of Wessex, who was the first of the house of Wessex to start dominating the Anglo Saxon realms. However, being born when his father was already a middle aged man, Edmund lost his father when he was a toddler, in 924, which saw his 30 year old half brother Athelstan come to the throne. Edmund would grow up in the reign of Athelstan, even participating in the Battle of Brunanburh in his adolescence in 937.Athelstan died in the year 939, which saw young Edmund come to the throne. Shortly after his proclamation as king, he had to face several military threats. King Olaf III Guthfrithson conquered Northumbria and invaded the Midlands; when Olaf died in 942, Edmund reconquered the Midlands. In 943, Edmund became the godfather of King Olaf of York. In 944, Edmund was successful in reconquering Northumbria. In the same year, his ally Olaf of York lost his throne and left for Dublin in Ireland. Olaf became the king of Dublin as Amlaíb Cuarán and continued to be allied to his godfather. In 945, Edmund conquered Strathclyde but ceded the territory to King Malcolm I of Scotland in exchange for a treaty of mutual military support. Edmund thus established a policy of safe borders and peaceful relationships with Scotland. During his reign, the revival of monasteries in England began.
Document 5: Middle Ages: Under the Capetian dynasty France slowly began to expand its authority over the nobility, growing out of the Île-de-France to exert control over more of the country in the 11th and 12th centuries. They faced a powerful rival in the Dukes of Normandy, who in 1066 under William the Conqueror (duke 1035–1087), conquered England (r. 1066–87) and created a cross-channel empire that lasted, in various forms, throughout the rest of the Middle Ages. Normans also settled in Sicily and southern Italy, when Robert Guiscard (d. 1085) landed there in 1059 and established a duchy that later became the Kingdom of Sicily. Under the Angevin dynasty of Henry II (r. 1154–89) and his son Richard I (r. 1189–99), the kings of England ruled over England and large areas of France,[W] brought to the family by Henry II's marriage to Eleanor of Aquitaine (d. 1204), heiress to much of southern France.[X] Richard's younger brother John (r. 1199–1216) lost Normandy and the rest of the northern French possessions in 1204 to the French King Philip II Augustus (r. 1180–1223). This led to dissension among the English nobility, while John's financial exactions to pay for his unsuccessful attempts to regain Normandy led in 1215 to Magna Carta, a charter that confirmed the rights and privileges of free men in England. Under Henry III (r. 1216–72), John's son, further concessions were made to the nobility, and royal power was diminished. The French monarchy continued to make gains against the nobility during the late 12th and 13th centuries, bringing more territories within the kingdom under their personal rule and centralising the royal administration. Under Louis IX (r. 1226–70), royal prestige rose to new heights as Louis served as a mediator for most of Europe.[Y]
Document 6: 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 7: Ferchar mac Connaid: He was a son of Connad Cerr and thus probably a member of the Cenél Comgaill, although some older reconstructions make him a member of the Cenél nGabráin. His death appears in the Annals of Ulster for 694 along with a number of other entries which appear to be misplaced by 45 years. The Duan Albanach grants him a reign of 16 years, which may mean that he ruled jointly with Domnall Brecc before becoming sole king, but the reign lengths of the Duan are problematic and this may be an error.
Document 8: Berngal: Berngal, son of Géde Ollgothach, was, according to medieval Irish legend and historical tradition, a High King of Ireland. He took power after killing his predecessor and cousin and his father's killer, Fíachu Findoilches. He made so much war that there was a shortage of milk and corn - according to one version, only a sack and a half. He ruled for either twenty-one or twelve years, until he was killed by his cousin Ailill, son of Slánoll. The "Lebor Gabála Érenn" synchronises his reign with that of Deioces of the Medes (694–665 BC). The chronology of Geoffrey Keating's "Foras Feasa ar Éirinn" dates his reign to 833–831 BC, that of the "Annals of the Four Masters" to 1209–1197 BC.
Document 9: Niall Frossach: Niall Frossach (or Niall mac Fergaile) (718–778) was an 8th-century Irish king of Ailech, sometimes considered to have been High King of Ireland. Brother of high king Áed Allán (died 743), Niall was the son of high king Fergal mac Máele Dúin (died 722) and a member of the Cenél nEógain, a branch of the Northern Uí Néill. The epithet "Frossach" (showery) is said to come from showers of silver, honey and wheat which fell on his home at Fahan in Inishowen at his birth.
Document 10: John, King of England: In 1185 John made his first visit to Ireland, accompanied by 300 knights and a team of administrators. Henry had tried to have John officially proclaimed King of Ireland, but Pope Lucius III would not agree. John's first period of rule in Ireland was not a success. Ireland had only recently been conquered by Anglo-Norman forces, and tensions were still rife between Henry II, the new settlers and the existing inhabitants. John infamously offended the local Irish rulers by making fun of their unfashionable long beards, failed to make allies amongst the Anglo-Norman settlers, began to lose ground militarily against the Irish and finally returned to England later in the year, blaming the viceroy, Hugh de Lacy, for the fiasco.
Document 11: History of Ireland: By the 12th century, Ireland was divided politically into a shifting hierarchy of petty kingdoms and over-kingdoms. Power was exercised by the heads of a few regional dynasties vying against each other for supremacy over the whole island. One of these men, King Diarmait Mac Murchada of Leinster was forcibly exiled by the new High King, Ruaidri mac Tairrdelbach Ua Conchobair of the Western kingdom of Connacht. Fleeing to Aquitaine, Diarmait obtained permission from Henry II to recruit Norman knights to regain his kingdom. The first Norman knight landed in Ireland in 1167, followed by the main forces of Normans, Welsh and Flemings. Several counties were restored to the control of Diarmait, who named his son - in - law, the Norman Richard de Clare, known as Strongbow, heir to his kingdom. This troubled King Henry, who feared the establishment of a rival Norman state in Ireland. Accordingly, he resolved to establish his authority. In 1177 Prince John Lackland was made Lord of Ireland by his father Henry II of England at the Council of Oxford.
Document 12: British Isles: By the Late Middle Ages, Great Britain was separated into the Kingdoms of England and Scotland. Power in Ireland fluxed between Gaelic kingdoms, Hiberno-Norman lords and the English-dominated Lordship of Ireland. A similar situation existed in the Principality of Wales, which was slowly being annexed into the Kingdom of England by a series of laws. During the course of the 15th century, the Crown of England would assert a claim to the Crown of France, thereby also releasing the King of England as from being vassal of the King of France. In 1534, King Henry VIII, at first having been a strong defender of Roman Catholicism in the face of the Reformation, separated from the Roman Church after failing to secure a divorce from the Pope. His response was to place the King of England as "the only Supreme Head in Earth of the Church of England", thereby removing the authority of the Pope from the affairs of the English Church. Ireland, which had been held by the King of England as Lord of Ireland, but which strictly speaking had been a feudal possession of the Pope since the Norman invasion was declared a separate kingdom in personal union with England.
Document 13: British Isles: Viking invasions began in the 9th century, followed by more permanent settlements, particularly along the east coast of Ireland, the west coast of modern-day Scotland and the Isle of Man. Though the Vikings were eventually neutralised in Ireland, their influence remained in the cities of Dublin, Cork, Limerick, Waterford and Wexford. England however was slowly conquered around the turn of the first millennium AD, and eventually became a feudal possession of Denmark. The relations between the descendants of Vikings in England and counterparts in Normandy, in northern France, lay at the heart of a series of events that led to the Norman conquest of England in 1066. The remnants of the Duchy of Normandy, which conquered England, remain associated to the English Crown as the Channel Islands to this day. A century later the marriage of the future Henry II of England to Eleanor of Aquitaine created the Angevin Empire, partially under the French Crown. At the invitation of a provincial king and under the authority of Pope Adrian IV (the only Englishman to be elected pope), the Angevins invaded Ireland in 1169. Though initially intended to be kept as an independent kingdom, the failure of the Irish High King to ensure the terms of the Treaty of Windsor led Henry II, as King of England, to rule as effective monarch under the title of Lord of Ireland. This title was granted to his younger son but when Henry's heir unexpectedly died the title of King of England and Lord of Ireland became entwined in one person.
Document 14: Cherin: Cherin was a legendary king of the Britons as recounted in Geoffrey of Monmouth's "Historia Regum Britanniae". His father was King Porrex II and he was succeeded by his three sons in turn, Fulgenius, Edadus, and Andragius.
Document 15: Kievan Rus': The Chronicle provides a mythic tale of Oleg's death. A sorcerer prophesies that the death of the Grand Prince would be associated with a certain horse. Oleg has the horse sequestered, and it later dies. Oleg goes to visit the horse and stands over the carcass, gloating that he had outlived the threat, when a snake strikes him from among the bones, and he soon becomes ill and dies. The Chronicle reports that Prince Igor succeeded Oleg in 913, and after some brief conflicts with the Drevlians and the Pechenegs, a period of peace ensued for over twenty years.
ground_truth: 1167
sub_queries: Which country does Berngal belong to? Answer: Ireland
when was Ireland first invaded by the british Answer: 1167