The kingdom was formed from a partition of the preceding Kingdom of Munster. It was a fief of the O'Kennedy family and later invaded by the Anglo-Normans, who created the Earldom of Ormond as part of the Lordship of Ireland, under the suzerainty of the Butler family. However, the O'Kennedys, now styled "Lords of Ormond",[2] long struggled with the Butlers for control of the region. In 1336 a peace treaty was signed between the two families,[3] but in 1347 the O'Kennedys were able to drive out the Butlers from Nenagh Castle and install there, keeping the manor for more than two hundred years.[citation needed]