Cormac Mac Cárthaigh was the last king of a united Munster in southwestern Ireland. He belonged to the Mac Cárthaigh clan of the Eóganacht Chaisil and died in 1138. The division of the kingdom Cormac had ruled into Desmond and Thomond followed the Treaty of Glanmire.