The significance of bureaucratic and priestly classes

Compare the significance of bureaucratic and priestly classes in the emergence of Mesopotamia, Egypt and China. What factors helped to empower certain groups?