The Shang dynasty during the second millennium BCE.
Roughly around the 16th century or 3600 years ago, located at the city of Yin, near what is now the modern city of Anyang.
Around the same time, the civilisations of Mycenaean Greece, Ancient Egypt and the decline of the Hittite Empire.
One thing about the Shang dynasty is that they had a fairly advanced writing system; the Shang dynasty's scribes would write on the scapula of oxen, then they would heat it up, and when it cracked, read the cracks in the bones in order to read the future.
As we know, the Shang dynasty was built around the Yellow River and the Yangze River, since that was where they could cultivate plants, ruled by Di Xin.
11th Century BCE, and when the Shang dynasty was active, there was a consort who is debated to have been "corrupted" Di Xin, named Daji, which made him less competent and more corrupt.
When the Shang dynasty ended was when Di Xin was defeated in the battle of Muye, and he was defeated by King Wu of Zhou, starting the Zhou dynasty.