Written laws, which replaced oral laws, were less flexible to the changing social nature, old customs of retribution and justice were removed or banned, and the removal of more violent punishments in some areas led to an increase in crime.