Muiredach mac Brain (died 818)


Muiredach mac Brain was a King of Leinster of the Uí Muiredaig sept of the Uí Dúnlainge branch of the Laigin. This sept had their royal seat at Maistiu in South Kildare. He was the son of Bran Ardchenn mac Muiredaig, a previous king. He ruled from 805 to 806 and again from 808 to 818.
Though not listed in the king list in the Book of Leinster, he is mentioned in the Irish annals. He is given the title


leth-ri at his death in 818 and ruled in conjunction with Muiredach mac Ruadrach of the Uí Fáeláin sept.
In 795 his father, Bran, had been assassinated by his successor Fínsnechta Cethardec mac Cellaig of the Uí Dúnchada sept as a direct challenge to the high-king. In 805 Fínsnechta was deposed by the high king Áed Oirdnide of the Cenél nEógain who installed Muiredach mac Brain and Muiredach mac Ruadrach as kings. Finsnechta took refuge with Muirgius mac Tommaltaig, the King of Connacht who then aided him in recovering his throne in 806.
Upon the death of Finsnechta, Muiredach mac Brain and Muiredach mac Ruadrach were returned to rule. In 814 a battle is recorded between the Uí Cheinnselaig of south Leinster and the sons of Bran. The battle was won by the sons of Bran, probably Muiredach and his brother Cellach mac Brain. Upon the death of Muiredach mac Brain, Muiredach mac Ruadrach became sole ruler.
Muiredach's sons, Tuathal mac Muiredaig and Dúnlaing mac Muiredaig were also kings of Leinster. Another son Artúr mac Muiredaig was king of western Liffey, Iarthair Liffey.