Oral sets of law were overwritten by the introduction of written legal codes. This is because written legal codes could be recorded and preserved for the future. They could not be distorted as they were written down and omitting the main subject was difficult. They had legal validity over oral laws, thus could not be easily denied.