Diarmait mac Tommaltaig (died 833) was a king of Connacht from the Uí Briúin branch of the Connachta. He was the great-grandson of Indrechtach mac Muiredaig Muillethan (died 723), a previous king.[1] The death of his father Tommaltach mac Murgail (died 774) is recorded in the annals where he is called king of Mag nAi. He succeeded his brother Muirgius mac Tommaltaig (died 815). He was of the Síl Muiredaig sept of the Uí Briúin. He ruled from 815 to 833.
His brother had been a successful king who built up the local power of Connacht. Diarmait was confronted with opposition upon his succession. In 816 he defeated the Uí Fiachrach Muaidhe (a rival dynasty of County Mayo who had last held the kingship in 773) and sacked Foibrén in the territory of Grecraige (a subject people of the Uí Fiachrach Muaidhe).[2] The annals point out that many common people were killed in this attack.
Then in 818 he imposed his authority over the Uí Maine (the third major grouping of Connacht in Counties Galway and southern Roscommon) with a Pyrrhic victory at the Battle of Forath in the territory of the Delba Nuadat (a subject people of Uí Maine in southern Roscommon).[3] Their king Cathal mac Murchada was slain. Máel Cothaid mac Fogartaig of the Síl Cathail sept of the Ui Briun is listed with Diarmait as victors in this battle and they are called Kings of the Uí Briúin, implying Diarmait may have shared his rule at first.
In 822 Diarmait defeated his rivals among the Uí Briúin at the Battle of Tarbga.[4] Dúnchad son of Maenach, and Gormgal son of Dúnchad were slain. In this battle the Uí Maine fought alongside Diarmait. The annals record another battle among the Connachta in 824 in which many fell.[5] No more opposition is recorded to the rule of Diarmait in the annals after this.
In 818 the Bishop of Armagh, Artrí son of Conchobor, came to Connacht with the shrine of Saint Patrick.[6] He returned in 825 to impose the law of Patrick upon the three Connachta.[7] These actions would help to establish the legitimacy of Diarmait's rule.
In 829 the high king Conchobar mac Donnchada (died 833), with the men of Mide (Meath), attacked Connacht and defeated the Connachta in battle.[8] In 830, the King of Munster, Feidlimid mac Crimthainn (died 847), invaded and crushed the southern Uí Briúin Seola.[9] These actions occurred during a short-lived alliance of these two kings who were soon engaged in hostility with one another.[10]