Traditional Culture Encyclopedia - Traditional stories - What was the legal system in ancient China? Is there a written legal constraint?

What was the legal system in ancient China? Is there a written legal constraint?

At first, the ancient Chinese laws were not published like the people, because the ancient kings thought that the opening of the legal department meant that the power of the law was enormous. It was not until the Warring States period that the penalty of casting property and the Ding Law began to be made public. So China entered the legal society and became "Is there a written legal constraint?"