The chief river of the North China Plain, the second-longest river in China and sixth-longest river system on Earth, historically prone to massive floods which repeatedly drastically changed its course; it passes through Qinghai, Sichuan, Gansu, Shaanxi, Shanxi, Henan and Shandong provinces as well as Ningxia and Inner Mongolia Autonomous Regions.