section_path: Culture and society/Social class
section_name: Social class
paragraph_text: Social class
  
  In the hierarchical social order, the emperor was at the apex of Han society and government. However, the emperor was often a minor, ruled over by a regent such as the empress dowager or one of her male relatives. Ranked immediately below the emperor were the kings who were of the same Liu family clan. The rest of society, including nobles lower than kings and all commoners excluding slaves, belonged to one of twenty ranks (ershi gongcheng 二十公乘).
  
  Each successive rank gave its holder greater pensions and legal privileges. The highest rank, of full marquess, came with a state pension and a territorial fiefdom. Holders of the rank immediately below, that of ordinary marquess, received a pension, but had no territorial rule. Scholar-bureaucrats who served in government belonged to the wider commoner social class and were ranked just below nobles in social prestige. The highest government officials could be enfeoffed as marquesses.
  
  By the Eastern Han, local elites of unattached scholars, teachers, students, and government officials began to identify themselves as members of a nationwide gentry class with shared values and a commitment to mainstream scholarship. When the government became noticeably corrupt in mid-to-late Eastern Han, many gentry even considered the cultivation of morally-grounded personal relationships more important than serving in public office.
  
  Farmers, namely small landowner–cultivators, were ranked just below scholars and officials in the social hierarchy. Other agricultural cultivators were of a lower status, such as tenants, wage labourers, and slaves. The Han dynasty made adjustments to slavery in China and saw an increase in agricultural slaves. Artisans, technicians, tradespeople, and craftsmen had a legal and socioeconomic status between that of owner-cultivator farmers and common merchants.
  
  State-registered merchants, who were forced by law to wear white-coloured clothes and pay high commercial taxes, were considered by the gentry as social parasites with a contemptible status. These were often petty shopkeepers of urban marketplaces; merchants such as industrialists and itinerant traders working between a network of cities could avoid registering as merchants and were often wealthier and more powerful than the vast majority of government officials.
  
  Wealthy landowners, such as nobles and officials, often provided lodging for retainers who provided valuable work or duties, sometimes including fighting bandits or riding into battle. Unlike slaves, retainers could come and go from their master's home as they pleased. Physicians, pig breeders, and butchers had fairly high social status, while occultist diviners, runners, and messengers had low status.