The first dynasty in China was founded by the Shang around 1600 BC. The Shang lived in large; complex societies and were the first to mass-produce cast bronze. Power centered on the ruling elite who acted as shamans of a sort, communicating with their ancestors and gods through diviners. Elaborate bronze food and wine vessels were used both for banqueting and for making ancestral offerings. Inscriptions on oracle bones provide the first evidence of writing, dating from around 1300 BC.
In 1066 BC, the Zhou seized power, establishing their western capital at present-day Xi’an. The Western Zhou initially sustained many of the traditions of the Shang, but later reorganized the political system, and replaced the use of oracle bones with inscriptions on bronze and, later, writing on silk and strips of bamboo.
The Eastern Zhou (770-221 BC) is divided into the Spring and Autumn Period (770-476 BC) and the Warring States Period (475-221 BC). The Eastern Zhou period was dominated by political conflict and social unrest, as rival factions jockeyed for power. It also saw economic expansion and development as the use of iron revolutionized agriculture. It was in this climate of unrest that the philosophical ideologies of Confucianism, Daoism, and Legalism emerged.