 The Usages combined fragments of Roman and Visigothic law with the resolutions of the comital court of Barcelona and the religious canons of ecclesiastic synods.The first Usages were compiled and codified by Ramon Berenguer I, Count of Barcelona (1035–1076), to repair the deficiencies of Gothic law.However, the evidence for Ramon's work dates from the codes of James the Conqueror of a later date (reigned 1213–1276).