Tang of Shang, of the Zi clan, personal name Lü, also honored as Cheng Tang or Tianyi, was the founding king of the Shang dynasty. In the last years of the Xia dynasty, the tyrant Jie's brutality had alienated the lords; Tang made the eastern state of Shang his base, took the sage ministers Yi Yin and Zhonghui as his aides, and quietly gathered the strength to destroy Xia. He first stripped away Xia's outworks — the states of Ge, Wei, Gu and Kunwu — then defeated Jie at the Battle of Mingtiao, and around 1600 BC supplanted the Xia and founded the Shang, fixing his capital at Bo. Tradition holds that during a great drought he cut off his hair and nails and offered himself in prayer at the mulberry grove of Sanglin, pleading for his people — the classic image of the benevolent ruler. In the periodic sacrificial inscriptions of the oracle bones his descendants venerated him as 'Da Yi', their founding ancestor. His lenient government toward the people and his soothing of the lords, together with the exemplary ruler-minister partnership with Yi Yin, became a celebrated model in Chinese political history, and the six-hundred-year foundations of the Shang royal house were laid by him. The capital shifted many times afterward, settling only when Pan Geng moved it to Yin.