Emperor Wu of Han favored Confucianism and made it as the national educational doctrine. In 124 BC, The Origins of Statecraft in China was set up to turn out civil servant for the state, which taught the Five Classics of Confucianism. The traditional Chinese attitude towards education followed Mencius's advice that "Those who labor with their minds govern others; those who labor with their strength are governed by others." Students selected to gain a government post upon mastering a classic. By 25 CE, the Taixue had an enrollment of 30,000 students, 7,000 faculty, 240 buildings, and 1,850 rooms. Confucian scholars set up their private schools as well.
Meanwhile, art school Pear Garden appeared in early 8th century, and in 1178 national military school was set up.