In 1600 BC, Chengtang overthrew the last ruler of Xia and founded the Shang Dynasty (1600-1046 BC), which went on to exist for more than 500 years. The capital of Shang was moved several times, but all the capitals were settled in present-day Henan. Capital sites of Shang have been discovered in Zhengzhou, Yanshi and Anyang. Shang people worshipped their ancestors and offered sacrifices to deities. They began to develop a script system and produced numerous bronze wares, giving rise to a pinnacle of the Bronze Age in ancient China.