Confucianism, also known as Ruism or Ru classicism, is a system of thought and behavior originating in ancient China, and is variously described as a tradition, philosophy, religion, theory of government, or way of life. Confucianism developed from teachings of the Chinese philosopher Confucius (551–479 BCE), during a time that was later referred to as the Hundred Schools of Thought era. Confucius considered himself a transmitter of cultural values inherited from the Xia (c. 2070–1600 BCE), Shang (c. 1600–1046 BCE) and Western Zhou dynasties (c. 1046–771 BCE). Confucianism was suppressed during the Legalist and autocratic Qin dynasty (221–206 BCE), but survived. During the Han dynasty, Confucian approaches edged out the "proto-Taoist" Huang–Lao as the official ideology, while the emperors mixed both with the realist techniques of Legalism.
Temple of Confucius of Jiangyin, Wuxi, Jiangsu. This is a wenmiao (文庙), that is to say a temple where Confucius is worshipped as Wendi, "God of Culture" (文帝).