The Shang Dynasty has the earliest recorded written history. The Shang (16th — 11th century BC) lasted over 500 years, with 31 kings belonging to 17 generations.
Thousands of archaeological finds in the Huanghe River (黄河), Henan Valley—the apparent cradle of Chinese civilization — provide evidence about the Shang (商) Dynasty, which endured roughly from 1600 to 1046 BC. The Shang Dynasty (also called the Yin Shang in its later stages) is believed to have been founded by a rebel leader who overthrew the last Xia ruler. Its civilization was based on agriculture, augmented by hunting and animal husbandry. Two important events of the period were the development of a writing system, as revealed in archaic Chinese inscription found on tortoise shells and flat cattle bones (commonly called oracle bones or jiaguwen), and the use of bronze metallurgy, a number of ceremonial bronze vessels with inscriptions dated from the Shang period; the workmanship on the bronzes attests to a high level of civilization.
A line of hereditary Shang kings ruled over much of northern China, and Shang troops fought frequent wars with neighboring settlements and nomadic herdsmen from the inner Asian steppes. The capitals, one of which was at the site of the modern city of Anyang, were centers of glittering court life. Court rituals to propitiate spirits and to honor sacred ancestors were highly developed. In addition to the secular position, royal personages were buried with articles of value, presumably for use in the afterlife. Perhaps for the same reason, hundreds of commoners, who may have been slaves, were buried alive with the royal corpse.
Shang Tang had spent 17 years in fighting against the Emperor Jie before he overthrew the Xia Dynasty. When he came to the throne, he was found to be a good and virtuous ruler. He was always thinking of the good for his people. He was full of benevolence not only for his people, but also for the animals. He has been considered as a model ruler and his example was imitated by every monarch. He was succeeded by his grandson Tai Jia.
In the whole period of the Slave-Owning System in the Shang Dynasty, struggles for the throne occurred many times, and the internal contradictions of the nobility intensified. Misery spread widely among the people, and the dynasty declined. There were thirty-one kings in seventeen generations. The last two kings were Di Yi (帝已)and Di Xin (帝辛). Di Xin or Zhou，the king of Shang (商纣王), is known in history as a cruel and debauched tyrant. He devised many cruel laws and means of torture, oppressing and exploiting the slaves and common people.
Building luxurious palaces and gardens, he led a debauchery life. By the end of the dynasty, King Zhou set aside the old nobles and only favored those congenial to him. This aggravated the contradictions among the nobility and caused internal dissention. The intensification of class contradictions brought about great confusion. Taking advantage of the opportunity, King Wu of the Zhou Dynasty launched an attack and overthrew the Shang Dynasty. The account of the fall of the Shang Dynasty that appears in traditional Chinese histories follows closely the story of the Xia Dynasty.
Some Shang historical records were written on bamboo slips or silk. The Book of History (Shang Shu《尚书》) and The Book of Odes (Shi Jing《诗经》) are written and recorded on these slips. The Book of History is a collection of political documents from the Shang.