In Sicily, Emperor Frederick II endorsed a deep reform of the laws culminating with the promulgation of the Constitutions of Melfi (1231, also known as Liber Augustalis), a collection of laws for his realm that was remarkable for its time and was a source of inspiration for a long time after.[19] It made the Kingdom of Sicily a centralised state and established the primacy of written law.