For centuries, the Hungarian constitution was unwritten, based upon customary law. There was no civil code either; lawyers worked with the "Corpus Iuris Hungarici". Among the laws that acquired constitutional force were a series of liberal statutes enacted during the 1848 Revolution; Statute XII of 1867 (enacting the Ausgleich); and further guarantees for constitutionalism, such as Statute IV of 1869, separating the executive and the judiciary; or the post-1870 statutes regulating local self-government and state administration.