The Shang dynasty emerges as a powerful Bronze Age kingdom before internal weakness and military defeat bring its rule to an end at the hands of the Zhou.