Who took over the shang dynasty?

The Zhou (JOH) dynasty took over after the Shang Dynsty. They did that by proclaiming that they had the Manidate of Heaven, which was a divine right to rule China.