The four classes were the following:
gentry and scholars (shi)
peasant farmers (nong)
craftsmen (gong)
shang (merchants)
the top of the hierarchy was occupied by the shi - the gentry.
Richmond Virginia in April 1861
You can claim to be winning a war if your casualties are much less than the casualties of the other side