Early societies developed along the Yellow River in China starting around 5000 BCE. The Xia and Shang dynasties emerged around 2200 BCE and 1766 BCE respectively, establishing hereditary monarchies and organized agricultural societies. The Shang utilized advanced bronze metallurgy and built fortified cities. By 1122 BCE, the Zhou dynasty overthrew the Shang using new iron weapons and decentralized political authority. Regional states grew more powerful, and internal conflicts increased during the Warring States period from 403-221 BCE, setting the stage for unification under Qin rule.