The Mandate of Heaven (天命) was a Chinese political and religious doctrine used to justify the rule of the emperor of China. According to this belief, heaven (天, Tian) stands for the natural order and will of the universe. Heaven will give a mandate to a just ruler, the Son of Heaven. If a ruler was overthrown, this was interpreted as an indication that the ruler was unworthy, and had lost the mandate. It was also a common belief that natural disasters such as famine and flood were signs of heaven's displeasure with the ruler, so there would often be revolts after major disasters as citizens saw these as signs that the Mandate of Heaven had been withdrawn.
Mandate of Heaven does not require a legitimate ruler to be of noble birth, and dynasties such as the Han and Ming dynasties were founded by men of common origins. The Mandate of Heaven had no time limitations, depending instead on the just and able performance of the rulers and their heirs. The concept is in some ways similar to the European concept of the divine right of kings; however, unlike the European concept, it does not confer an unconditional right to rule. The concept of Mandate of Heaven also included the right of rebellion against an unjust ruler. Chinese historians interpreted a successful revolt as evidence that Heaven had withdrawn its mandate from the ruler. Throughout Chinese history, times of poverty and natural disasters were often taken as signs that heaven considered the current ruler unjust and in need of replacement. The Mandate of Heaven was often invoked by philosophers and scholars in China as a way to curtail the abuse of power by the ruler.
The concept of the Mandate of Heaven was first used to support the rule of the kings of the Zhou dynasty (1046–256 BCE), and legitimize their overthrow of the earlier Shang dynasty (1600–1046 BCE). It was used throughout the history of China to support the rule of emperors, including non-Han ethnic monarchs such as the Qing dynasty. This concept was also used by monarchs in neighboring countries like Korea and Vietnam. A similar situation prevailed since the establishment of Ahom rule in the Kingdom of Assam of Southeast Asia.