Chinese law is one of the oldest legal traditions in the world. The core of modern Chinese law is based on Germanic-style civil law, socialist law, and traditional Chinese approaches. For most of the history of China, its legal system has been based on the Confucian philosophy of social control through moral education, as well as the Legalist emphasis on codified law and criminal sanction. Following the Xinhai Revolution, the Republic of China adopted a largely Western-style legal code in the civil law tradition (specifically German-influenced). The establishment of the People's Republic of China in 1949 brought with it a more Soviet-influenced system of socialist law. However, earlier traditions from Chinese history have retained their influence. Law in the People's Republic of China is currently undergoing gradual reform, as many elements inside and outside the country emphasize the need to strengthen the rule of law in China, and international trade and globalization spur transformations in various areas of Chinese domestic law. The word for law in classical Chinese was fǎ (法). The Chinese character for fǎ denotes a meaning of 'fair', 'straight' and 'just', derived from its water radical (氵). It also carries the sense of 'standard, measurement, and model'. Derk Bodde and Clarence Morris held that the concept of fǎ had an association with yì (義: 'social rightness').:14–15 Yan Fu, in his Chinese translation of Montesquieu's De l'esprit des lois published in 1913, warned his readers about the difference between the Chinese fǎ and Western law: 'The word 'law' in Western languages has four different interpretations in Chinese as in lǐ (理: 'order'), lǐ (禮: 'rites', 'decorum'), fǎ (法: 'human laws') and zhì (制: 'control'). A term which preceded fǎ was xíng (刑), which originally probably referred to decapitation. Xíng later evolved to be a general term for laws that related to criminal punishment. The early history Shang Shu recorded the earliest forms of the 'five penalties': tattooing, disfigurement, castration, mutilation, and death. Once written law came into existence, the meaning of xíng was extended to include not only punishments but also any state prohibitions whose violation would result in punishments. In modern times, xíng denotes penal law or criminal law. An example of the classical use of xíng is Xíng Bù (刑部, lit. 'Department of Punishment') for the legal or justice department in imperial China.