<P> The four occupations (simplified Chinese: 士 农工商; traditional Chinese: 士農工商) or "four categories of the people" (Chinese: 四 民) was an occupation classification used in ancient China by either Confucian or Legalist scholars as far back as the late Zhou dynasty and is considered a central part of the fengjian social structure (c. 1046--256 BC). These were the shi (gentry scholars), the nong (peasant farmers), the gong (artisans and craftsmen), and the shang (merchants and traders). The four occupations were not always arranged in this order . The four categories were not socioeconomic classes; wealth and standing did not correspond to these categories, nor were they hereditary . </P> <P> The system did not factor in all social groups present in premodern Chinese society, and its broad categories were more an idealization than a practical reality . The commercialization of Chinese society in the Song and Ming periods further blurred the lines between these four occupations . The definition of the identity of the shi class changed over time--from warriors, to aristocratic scholars, and finally to scholar - bureaucrats . There was also a gradual fusion of the wealthy merchant and landholding gentry classes, culminating in the late Ming Dynasty . </P>

When did confucian political philosophy first gain acceptance among the chinese ruling class