The majority of traditional Chinese philosophy originates in the Spring and Autumn and Warring States era, during a period known as the "Hundred Schools of Thought", which was characterized by significant intellectual and cultural developments. Although much of Chinese philosophy begins in the Warring States period, elements of Chinese philosophy have existed for several thousand years; some can be found in the Yi Jing (the Book of Changes), an ancient compendium of divination, which dates back to at least 672 BCE. It was during the Warring States era that the major philosophies of China, Confucianism, Mohism, Legalism, and Taoism, arose, along with philosophies that later fell into obscurity, like Agriculturalism, Chinese Naturalism, and the Logicians.
Following the Qin Dynasty, Confucianism became the dominant philosophical school of China. The largest philosophical rivals to Confucianism were Legalism and Mohism before the Han dynasty. Legalism as a coherent philosophy disappeared largely due to its relationship with the unpopular authoritarian rule of Qin Shi Huang, however, many of its ideas and institutions would continue to influence Chinese philosophy until the end of Imperial rule during the Xinhai Revolution. Mohism though popular at first due to its emphasis on brotherly love versus harsh Qin Legalism, fell out of favour during the Han Dynasty due to the efforts of Confucians in establishing their views as political orthodoxy. The Six Dynasties era saw the rise of the Xuanxue philosophical school and the maturation of Chinese Buddhism, which had entered China from India during the Late Han Dynasties. By the time of the Tang Dynasty five-hundred years after Buddhisms arrival into China, it had transformed into a thoroughly Chinese religious philosophy dominated by the school of Zen Buddhism. Neo-Confucianism became highly popular during the Song Dynasty and Ming Dynasty due in large part to the eventual combination of Confucian and Zen Philosophy.