Around 1600 BC, Tang of Shang overthrew the Xia at the Battle of Mingtiao and founded the Shang. The capital moved repeatedly before settling at Yin (modern Anyang), where more than a hundred thousand inscribed oracle bones - China's earliest mature writing - anchor the dynasty in verifiable history. Shang kings ruled through a warrior aristocracy, ancestral cults and divination, and cast ritual bronzes that remain among the finest of the ancient world. In 1046 BC King Wu of Zhou crushed the last Shang king at the Battle of Muye, opening the Zhou age.