 It is clear, however, from evidence dating from between 987 and 1031, that the Carolingian court system and Visigothic law were still in effect in Cerdanya.The count presided over judicial tribunals with the assistance of the "judices" (judges) and "boni homines" (good men) of the county.During the 11th century, Cerdanya became increasingly feudalised and drawn into the orb of Toulouse and Foix.