China has a legal system based on Roman law, which it received via German civil law, combined with socialist law and Chinese custom.