He led most important religious ceremonies, commanded the army in war, deal with foreign rulers, and acted as judge and law-maker. He also made sure that the history and custom of their culture were remembered and honored, and good generals, officials, artist and scholars were rewarded.