List of ancient legal codes

The legal code was a common feature of the legal systems of the ancient Middle East. The Sumerian Code of Ur-Nammu (c. 2100–2050 BC), then the Babylonian Code of Hammurabi (c. 1760 BC), are amongst the earliest originating in the Fertile Crescent. In the Roman empire, a number of codifications were developed, such as the Twelve Tables of Roman law (first compiled in 450 BC) and the Corpus Juris Civilis of Justinian, also known as the Justinian Code (429–534 CE). In ancient China, the first comprehensive criminal code was the Tang Code, created in 624 CE in the Tang Dynasty. In India, the Edicts of Ashoka (269–236 BC) were followed by the Law of Manu (200 BC).
The following is a list of ancient legal codes in chronological order: