The obscure contest between the Norwegians and Danes for supremacy in Dublin appears to have made the former feel the need of a powerful leader. At any rate, in 851-852 the king of Lochlann (Norway) sent his son Amlaib (Olaf the White) to assume sovereignty over the Norsemen in Ireland and to receive tribute and vassals. From this time it is possible to speak of a Scandinavian kingdom of Dublin, a kingdom which lasted almost without interruption until the Norman Conquest. The king of Dublin exercised overlordship over the other Viking communities in the island, and thus became the most dangerous opponent of the ardrí, with whom he was constantly at variance. Amlaib was accompanied by Ivar, who is stated in one source to have been his brother. Some writers wish to identify this prince with the famous Ivar Beinlaus, son of Ragnar Lodbrok. Amlaib was opposed to the ardrí Maelsechlainn I. (846-863) who had overcome Turgeis. This brave ruler gained a number of victories over the Norsemen, but in true Irish fashion they were never followed up. Although his successor Aed Finnliath (863-879) gave his daughter in marriage to Amlaib, no better relations were established. The king of Dublin was certainly the most commanding figure in Ireland in his day, and during his lifetime the Viking power was greatly extended. In 870 he captured the strongholds of Dumbarton and Dunseverick (Co. Antrim). He disappears from the scene in 873. One source represents him as dying in Ireland, but the circumstances are quite obscure. Ivar only survived Olaf two or three years, and it is stated that he died a Christian. During the ensuing period Dublin was the scene of constant family feuds, which weakened its power to such an extent that in 901 Dublin and Waterford were captured by the Irish and were obliged to acknowledge the supremacy of the high-king. The Irish Annals state that there were no fresh invasions of the Northmen for about forty years dating from 877. During this period Ireland enjoyed comparative rest notwithstanding the intertribal feuds in which the Norse settlers shared, including the campaigns of Cormac, son of Cuilennan, the scholarly king-bishop of Cashel.

Towards the end of this interval of repose a certain Sigtrygg, who was probably a great-grandson of the Ivar mentioned above, addressed himself to the task of winning back the kingdom of his ancestor. Waterford was retaken in 914 by Ivar, grandson of Ragnall and Earl Ottir, and Sigtrygg won a signal victory over the king of Leinster at Cenn Fuait (Co. Kilkenny?) two years later. Dublin was captured, and the high-king Niall Glúndub (910-919) prepared to oppose the invaders. A battle of prime importance was gained by Sigtrygg over the ardrí, who fell fighting gallantly at Kilmashogue near Dublin in 919. Between 920 and 970 the Scandinavian power in Ireland reached its zenith. The country was desolated and plundered by natives and foreigners alike. The lower Shannon was more thoroughly occupied by the Norsemen, with which fact the rise of Limerick is associated. Carlow, Kilkenny and the territory round Lough Neagh were settled, and after the capture of Lough Erne in 932 much of Longford was colonized. The most prominent figures at this time were Muirchertach “of the leather cloaks,” son of Niall Glúndub, Cellachan of Cashel and Amlaib (Olaf) Cuarán. The first-named waged constant warfare against the foreigners and was the most formidable opponent the Scandinavians had yet met. In his famous circuit of Ireland (941) he took all the provincial kings, as well as the king of Dublin, as hostages, and after keeping them for five months at Ailech he handed them over to the feeble titular ardrí, showing that his loyalty was greater than his ambition. Unlike Muirchertach, Cellachan of Cashel, the hero of a late romance, was not particular whether he fought for or against the Norsemen. In 920 Sigtrygg (d. 927) was driven out of Dublin by his brother Godfred (d. 934) and retired to York, where he became king of Northumbria. His sons Olaf and Godfred were expelled by Æthelstan. The former, better known as Amlaib (Olaf) Cuarán, married the daughter of Constantine, king of Scotland, and fought at Brunanburh (938). Born about 920, he perhaps became king of York in 941. Expelled in 944-945 he went to Dublin and drove out his cousin Blákáre, son of Godfred. At the same time he held sway over the kingdom of Man and the Isles. We find this romantic character constantly engaged on expeditions in England, Ireland and Scotland. In 956 Congalach, the high-king, was defeated and slain by the Norse of Dublin. In 973 his son Domnall, in alliance with Amlaib, defeated the high-king Domnall O’Neill at Cell Mona (Kilmoon in Co. Meath). This Domnall O’Neill, son of Muirchertach, son of Niall Glúndub, was the first to adopt the name O’Neill (Ir. ua, ó = “grandson”). The tanists or heirs of the northern and southern Hy Neill having died, the throne fell to Maelsechlainn II., of the Cland Colmáin, the last of the Hy Neill who was undisputed king of Ireland. Maelsechlainn, who succeeded in 980, had already distinguished himself as king of Meath in war with the Norsemen. In the first year of his reign as high-king he defeated them in a bloody battle at Tara, in which Amlaib’s son, Ragnall, fell. This victory, won over the combined forces of the Scandinavians of Dublin, Man and the Isles, compelled Amlaib to deliver up all his captives and hostages,—among whom were Domnall Claen, king of Leinster, and several notables—to forgo the tribute which he had imposed upon the southern Hy Neill and to pay a large contribution of cattle and money. Amlaib’s spirit was so broken by this defeat that he retired to the monastery of Hí, where he died the same year.

The Dalcais Dynasty.—We have already seen that the dominant race in Munster traced descent from Ailill Aulom. The Cashel dynasty claimed to descend from his eldest son Eogan, whilst the Dalcassians of Clare derived their origin from a younger son Cormac Cas. Ailill Aulom is said to have ordained that the succession to the throne should alternate between the two lines, as in the case of the Hy Neill. This, however, is perhaps a fiction of later poets who wished to give lustre to the ancestry of Brian Boruma, as very few of the Dalcais princes appear in the list of the kings of Cashel. The Dalcassians play no prominent part in history until, in the middle of the 10th century, they were ruled by Kennedy (Cennétig), son of Lorcan, king of Thomond (d. 954), by whom their power was greatly extended. He left two sons, Mathgamain (Mahon) and Brian, called Brian Boruma, probably from a village near Killaloe.[9] About the year 920 a Viking named Tomrair, son of Elgi, had seized the lower Shannon and established himself in Limerick, from which point constant incursions were made into all parts of Munster. After a period of guerrilla warfare in the woods of Thomond, Mathgamain concluded a truce with the foreigners, in which Brian refused to join. Thereupon Mathgamain crossed the Shannon and gained possession of the kingdom of Cashel, as Dunchad, the representative of the older line, had just died. Receiving the support of several of the native tribes, he felt himself in a position to attack the settlements of the foreigners in Munster. This aroused the ruler of Limerick, Ivar, who determined to carry the war into Thomond. He was supported by Maelmuad, king of Desmond, and Donoban, king of Hy Fidgeinte, and Hy Cairpri. Their army was met by Mathgamain at Sulchoit near Tipperary, where the Norsemen were defeated with great slaughter (968). This decisive victory gave the Dalcais Limerick, which they sacked and burnt, and Mathgamain then took hostages of all the chiefs of Munster. Ivar escaped to Britain, but returned after a year and entrenched himself at Inis Cathaig (Scattery Island in the lower Shannon). A conspiracy was formed between Ivar and his son Dubcenn and the two Munster chieftains Donoban and Maelmuad. Donoban was married to the daughter of a Scandinavian king of Waterford, and his own daughter was married to Ivar of Waterford.[10] In 976 Inis Cathaig was attacked and plundered by the Dalcais and the garrison, including Ivar and Dubcenn, slain. Shortly before this Mathgamain had been murdered by Donoban, and Brian thus became king of Thomond, whilst Maelmuad succeeded to Cashel. In 977 Brian made a sudden and rapid inroad into Donoban’s territory, captured his fortress and slew the prince himself with a vast number of his followers. Maelmuad, the other conspirator, met with a like fate at Belach Lechta in Barnaderg (near Ballyorgan). After this battle Brian was acknowledged king of all Munster (978). After reducing the Dési, who were in alliance with the Northmen of Waterford and Limerick, in 984 he subdued Ossory and took hostages from the kings of East and West Leinster. In this manner he became virtually king of Leth Moga.

This rapid rise of the Dalcassian leader was bound to bring him into conflict with the ardrí. Already in 982 Maelsechlainn had invaded Thomond and uprooted the venerable tree under which the Dalcais rulers were inaugurated. After the battle of Tara he had placed his half-brother Gluniarind, son of Amlaib Cuarán, in Dublin. This prince was murdered in 989 and was succeeded by Sigtrygg Silkiskeggi, son of Amlaib and Gormflaith, sister of Maelmorda, king of Leinster. In the same year Maelsechlainn took Dublin and imposed an annual tribute on the city. During these years there were frequent trials of strength between the ardrí and the king of Munster. In 992 Brian invaded Meath, and four years later Maelsechlainn defeated Brian in Munster. In 998 Brian ascended the Shannon with a large force, intending to attack Connaught, and Maelsechlainn, who received no support from the northern Hy Neill, came to terms with him. All hostages held by the over-king from the Northmen and Irish of Leth Moga were to be given up to Brian, which was a virtual surrender of all his rights over the southern half of Ireland; while Brian on his part recognized Maelsechlainn as sole king of Leth Cuinn. In 1000 Leinster revolted against Brian and entered into an alliance with the king of Dublin. Brian advanced towards the city, halting at a place called Glen Mama near Dunlavin (Co. Wicklow). He was attacked by the allied forces, who were repulsed with great slaughter. Maelmorda, king of Leinster, was taken prisoner, and Sigtrygg fled for protection to Ailech. The victor gave proof at once that he was not only a clever general but also a skilful diplomatist. Maelmorda was restored to his kingdom, Sigtrygg received Brian’s daughter in marriage, whilst Brian took to himself the Dublin king’s mother, the notorious Gormflaith, who had already been divorced by Maelsechlainn. After thus establishing peace and consolidating his power, Brian returned to his residence Cenn Corad and matured his plan of obtaining the high-kingship for himself. When everything was ready he entered Mag Breg with an army consisting of his own troops, those of Ossory, his South Connaught vassals and the Norsemen of Munster. The king of Dublin also sent a small force to his assistance. Maelsechlainn, taken by surprise and feeling himself unequal to the contest, endeavoured to gain time. An armistice was concluded, during which he was to decide whether he would give Brian hostages (i.e. abdicate) or not. He applied to the northern Hy Neill to come to his assistance, and even offered to abdicate in favour of the chief of the Cinél Eogain, but the latter refused unless Maelsechlainn undertook to cede to them half the territory of his own tribe, the Cland Colmáin. The attempt to unite the whole of the Eremonian against the Eberian race and preserve a dynasty that had ruled Ireland for 600 years, having failed, Maelsechlainn submitted to Brian, and without any formal act of cession the latter became ardrí. During a reign of twelve years (1002-1014) he is said to have effected much improvement in the country by the erection and repair of churches and schools, and the construction of bridges, causeways, roads and fortresses. We are also told that he administered rigid and impartial justice and dispensed royal hospitality. As he was liberal to the bards, they did not forget his merits.

Towards the end of Brian’s reign a conspiracy was entered into between Maelmorda, king of Leinster, and his nephew Sigtrygg of Dublin. The ultimate cause of this movement was an insult offered by Murchad, Brian’s son, to the king of Leinster, who was egged on by his sister Gormflaith. Sigtrygg secured promises of assistance from Sigurd, earl of Orkney, and Brodir of Man. In the spring of 1014 Maelmorda and Sigtrygg had collected a considerable army in Dublin, consisting of contingents from all the Scandinavian settlements in the west in addition to Maelmorda’s own Leinster forces, the whole being commanded by Sigurd, earl of Orkney. This powerful prince, whose mother was a daughter of Cerball of Ossory (d. 887), appears to have aimed at the supreme command of all the Scandinavian settlements of the west, and in the course of a few years conquered the kingdom of the Isles, Sutherland, Ross, Moray and Argyll. To meet such formidable opponents, Brian, now an old man unable to lead in person, mustered all the forces of Munster and Connaught, and was joined by Maelsechlainn in command of the forces of Meath. The northern Hy Neill and the Ulaid took no part in the struggle. Brian advanced into the plain of Fingall, north of Dublin, where a council of war was held. The longest account of the battle that followed occurs in a source very partial to Brian and the deeds of Munstermen, in which Maelsechlainn is accused of treachery, and of holding his troops in reserve. The battle, generally known as the battle of Clontarf, though the chief fighting took place close to Dublin, about the small river Tolka, was fought on Good Friday 1014. After a stout and protracted resistance the Norse forces were routed. Maelsechlainn with his Meathmen came down on the fugitives as they tried to cross the bridge leading to Dublin or to reach their ships. On both sides the slaughter was terrible, and most of the leaders lost their lives. Brian himself perished along with his son Murchad and Maelmorda. This great struggle finally disposed of the possibility of Scandinavian supremacy in Ireland, but in spite of this it can only be regarded as a national misfortune. The power of the kingdom of Dublin had been already broken by the defeat of Amlaib Cuarán at Tara in 980, and the main result of the battle of Clontarf was to weaken the central power and to throw the whole island into a state of anarchy. Although beaten on the field of battle the Norsemen still retained possession of their fortified cities, and gradually they assumed the position of native tribes. The Dalcassian forces had been so much weakened by the great struggle that Maelsechlainn was again recognized as king of Ireland. However, the effects of Brian’s revolution were permanent; the prescriptive rights of the Hy Neill were disputed, and from the battle of Clontarf until the coming of the Normans the history of Ireland consisted of a struggle for ascendancy between the O’Brians of Munster, the O’Neills of Ulster and the O’Connors of Connaught.

From the Battle of Clontarf to the Anglo-Norman Invasion.—The death of Maelsechlainn in 1022 afforded an opportunity for an able and ambitious man to subdue Ireland, establish a strong central government, break up the tribal system and further the gradual fusion of factions into a homogeneous nation. Such a man did not arise; those who afterwards claimed to be ardrí lacked the qualities of founders of strong dynasties, and are termed by the annalists “kings with opposition.” Brian was survived by two sons, Tadg and Donnchad, the elder of whom was slain in 1023. Donnchad (d. 1064) was certainly the most distinguished figure in Ireland in his day. He subdued more than half of Ireland, and almost reached the position once held by his father. His strongest opponent was his son-in-law Diarmait Mael-na-mBó, king of Leinster, who was also the foster-father of his brother Tadg’s son, Tordelbach (Turlough) O’Brian. On the death of Diarmait in 1072 Tordelbach (d. 1086) reigned supreme in Leth Moga; Meath and Connaught also submitted to him, but he failed to secure the allegiance of the northern Hy Neill. He was succeeded by his son Muirchertach (d. 1119), who spent most of his life contending against his formidable opponent Domnall O’Lochlainn, king of Tír Eogain (d. 1121). The struggle for the sovereignty between these two rivals continued, with intervals of truce negotiated by the clergy, without any decisive advantage on either side. In 1102 Magnus Barefoot made his third and last expedition to the west with the express design of conquering Ireland. Muirchertach opposed him with a large force, and a conference was arranged at which a son of Magnus was betrothed to Biadmuin, daughter of the Irish prince. He was also mixed up in English affairs, and as a rule maintained cordial relations with Henry I. After the death of Domnall O’Lochlainn there was an interregnum of about fifteen years with no ardrí, until Tordelbach (Turlough) O’Connor, king of Connaught, resolved to reduce the other provinces. Munster and Meath were repeatedly ravaged, and in 1151 he crushed Tordelbach (Turlough) O’Brian, king of Thomond, at Moanmor. O’Connor’s most stubborn opponent was Muirchertach O’Lochlainn, with whom he wrestled for supremacy until the day of his death (1156). Tordelbach, who enjoyed a great reputation even after his death, was remembered as having thrown bridges over the Shannon, and as a patron of the arts. However, war was so constant in Ireland at this time that under the year 1145 the Four Masters describe the island as a “trembling sod.” Tordelbach was succeeded by his son Ruadri (Roderick, q.v.), who after some resistance had to acknowledge Muirchertach O’Lochlainn’s supremacy. The latter, however, was slain in 1166 in consequence of having wantonly blinded the king of Dal Araide. Ruadri O’Connor, now without a serious rival, was inaugurated with great pomp at Dublin.

Diarmait MacMurchada (Dermod MacMurrough), great-grandson of Diarmait Mael-na-mBó, as king of Leinster was by descent and position much mixed up with foreigners, and generally in a state of latent if not open hostility to the high-kings of the Hy Neill and Dalcais dynasties. He was a tyrant and a bad character. In 1152 Tigernan O’Rourke, prince of Breifne, had been dispossessed of his territory by Tordelbach O’Connor, aided by Diarmait, and the latter is accused also of carrying off Derbforgaill, wife of O’Rourke. On learning that O’Rourke was leading an army against him with the support of Ruadri, he burnt his castle of Ferns and went to Henry II. to seek assistance. The momentous consequences of this step belong to the next section, and it now remains for us to state the condition of the church and society in the century preceding the Anglo-Norman invasion.

Although the Irish Church conformed to Roman usage in the matter of Easter celebration and tonsure in the 7th century, the bond between Ireland and Rome was only slight until several centuries later. Whatever co-ordination may have existed in the church of the 8th century was doubtless destroyed during the troubled period of the Viking invasions. It is probable that St Patrick established Armagh as a metropolitan see, but the history of the primacy, which during a long period can only have been a shadow, is involved in obscurity. Its supremacy was undoubtedly recognized by Brian Boruma in 1004, when he laid 20 oz. of gold upon the high altar. In the 11th century a competitor arose in the see of Dublin. The Norse rulers were bound to come under the influence of Christianity at an early date. For instance, Amlaib Cuarán was formally converted in England in 942 and was baptized by Wulfhelm of Canterbury. The antithesis between the king of Dublin and the ardrí seems to have had the effect of linking the Dublin Christian community rather with Canterbury than Armagh. King Sigtrygg founded the bishopric of Dublin in 1035, and the early bishops of Dublin, Waterford and Limerick were all consecrated by the English primate. As Lanfranc and Anselm were both anxious to extend their jurisdiction over the whole of Ireland, the submission of Dublin opened the way for Norman and Roman influences. At the beginning of the 12th century Gilbert, bishop of Limerick and papal legate, succeeded in winning over Celsus, bishop of Armagh (d. 1129), to the reform movement. Celsus belonged to a family which had held the see for 200 years; he was grandson of a previous primate and is said to have been himself a married man. Yet he became, in the skilful hands of Gilbert and Maelmaedóc O’Morgair, the instrument of overthrowing the hereditary succession to the primatial see. In 1118 the important synod of Rathbressil was held, at which Ireland was divided into dioceses, this being the first formal attempt at getting rid of that anarchical state of church government which had hitherto prevailed. The work begun under Celsus was completed by his successor Maelmaedóc (Malachy). At a national synod held about 1134 Maelmaedóc, in his capacity as bishop of Armagh, was solemnly elected to the primacy; and armed with full power of church and state he was able to overcome all opposition. Under his successor Gelasius, Cardinal Paparo was despatched as supreme papal legate. At the synod of Kells (1152) there was established that diocesan system which has ever since continued without material alteration. Armagh was constituted the seat of the primacy, and Cashel, Tuam and Dublin were raised to the rank of archbishoprics. It was also ordained that tithes should be levied for the support of the clergy.

Social Conditions.—In the middle ages there were considerable forests in Ireland encompassing broad expanses of upland pastures and marshy meadows. It is traditionally stated that fences first came into general use in the 7th century. There were no cities or large towns before the arrival of the Norsemen; no stone bridges spanned the rivers; stepping stones or hurdle bridges at the fords or shallows offered the only mode of crossing the broadest streams, and connecting the unpaved roads or bridle paths which crossed the country over hill and dale from the principal dúns. The forests abounded in game, the red deer and wild boar were common, whilst wolves ravaged the flocks. Scattered over the country were numerous small hamlets, composed mainly of wicker cabins, among which were some which might be called houses; other hamlets were composed of huts of the rudest kind. Here and there were large villages that had grown up about groups of houses surrounded by an earthen mound or rampart; similar groups enclosed in this manner were also to be found without any annexed hamlet. Sometimes there were two or three circumvallations or even more, and where water was plentiful the ditch between was flooded. The simple rampart enclosed a space called lis[11] which contained the agricultural buildings and the groups of houses of the owners. The enclosed houses belonged to the free men (aire, pl. airig). The size of the houses and of the enclosing mound and ditch marked the wealth and rank of the aire. If his wealth consisted of chattels only, he was a bó-aire (cow-aire). When he possessed ancestral land he was a flaith or lord, and was entitled to let his lands for grazing, to have a hamlet in which lived labourers and to keep slaves. The larger fort with several ramparts was a dún, where the (chieftain) lived and kept his hostages if he had subreguli. The houses of all classes were of wood, chiefly wattles and wicker-work plastered with clay. In shape they were most frequently cylindrical, having conical roofs thatched with rushes or straw. The oratories were of the same form and material, but the larger churches and kingly banqueting halls were rectangular and made of sawn boards. Bede, speaking of a church built by Finan at Lindisfarne, says, “nevertheless, after the manner of the Scots, he made it not of stone but of hewn oak and covered it with reeds.” When St Maelmaedóc in the first half of the 12th century thought of building a stone oratory at Bangor it was deemed a novelty by the people, who exclaimed, “we are Scotti not Galli.” Long before this, however, stone churches had been built in other parts of Ireland, and many round towers. In some of the stone-forts of the south-west (Ir. cathir) the houses within the rampart were made of stone in the form of a beehive, and similar cloghans, as they are called, are found in the western isles of Scotland.

Here and there in the neighbourhood of the hamlets were patches of corn grown upon allotments which were gavelled, or redistributed, every two or three years. Around the dúns and raths, where the corn land was the fixed property of the lord, the cultivation was better. Oats was the chief corn crop, but wheat, barley and rye were also grown. Much attention was paid to bee-keeping and market-gardening, which had probably been introduced by the church. The only industrial plants were flax and the dye-plants, chief among which were woad and rud, roid (a kind of bed-straw?). Portions of the pasture lands were reserved as meadows; the tilled land was manured. There are native names for the plough, so it may be assumed that some form of that implement, worked by oxen, yoked together with a simple straight yoke, was in use in early times. Wheeled carts were also known; the wheels were often probably only solid disks, though spoked wheels were used for chariots. Droves of swine under the charge of swineherds wandered through the forests; some belonged to the , others to lords (flaith) and others again to village communities. The house-fed pig was then as now an important object of domestic economy, and its flesh was much prized. Indeed, fresh pork was one of the inducements held out to visitors to the Irish Elysium. Horned cattle constituted the chief wealth of the country, and were the standard for estimating the worth of anything, for the Irish had no coined money and carried on all commerce by barter. The unit of value was called a sét, a word denoting a jewel or precious object of any kind. The normal sét was an average milch-cow. Gold, silver, bronze, tin, clothes and all other kinds of property were estimated in séts. Three séts were equal to a cumal (female slave). Sheep were kept everywhere for their flesh and their wool, and goats were numerous. Horses were extensively employed for riding, working in the fields and carrying loads. Irish horsemen rode without saddle or stirrups. So important a place did bee-culture hold in the rural economy of the ancient Irish that a lengthy section is devoted to the subject in the Brehon Laws. The honey was used both in cooking and for making mead, as well as for eating.