Shang Dynasty
The Shang Dynasty or Yin Dynasty (殷代; pinyin: yīn dài) was, according to traditional sources, the second Chinese dynasty
Dynasties in Chinese history
The following is a chronology of the dynasties in Chinese history.Chinese history is not as neat as is often described and it was rare for one dynasty to change peacefully into the next. Dynasties were often established before the overthrow of an existing regime, or continued for a time after they...

, after the Xia
Xia Dynasty
The Xia Dynasty is the first dynasty in China to be described in ancient historical chronicles such as Bamboo Annals, Classic of History and Records of the Grand Historian. The Xia Dynasty was established by the legendary Yu the Great after Shun, the last of the Five Emperors gave his throne to him...

. They ruled in the northeastern regions of the area known as "China proper
China proper
China proper or Eighteen Provinces was a term used by Western writers on the Qing Dynasty to express a distinction between the core and frontier regions of China. There is no fixed extent for China proper, as many administrative, cultural, and linguistic shifts have occurred in Chinese history...

" in the Yellow River
Yellow River
The Yellow River or Huang He, formerly known as the Hwang Ho, is the second-longest river in China and the sixth-longest in the world at the estimated length of . Originating in the Bayan Har Mountains in Qinghai Province in western China, it flows through nine provinces of China and empties into...

 valley. According to the chronology based upon calculations by Liu Xin
Liu Xin
Liu Xin , later changed name to Liu Xiu , courtesy name Zijun , was a Chinese astronomer, historian, and editor during the Xin Dynasty . He was the son of Confucian scholar Liu Xiang and an associate of other prominent thinkers such as the philosopher Huan Tan...

, the Shang ruled between 1766 BC and 1122 BC, but according to the chronology based upon the Bamboo Annals
Bamboo Annals
The Bamboo Annals is a chronicle of ancient China. It begins at the earliest legendary times and extends to the Warring States Period , particularly the history of the Wei state...

, they ruled between 1556 BC and 1046 BC.