They developed the first known codified legal and administrative systems, complete with courts, jails, and government records