The Mandate of Heaven (Chinese: 天命; pinyin: Tiānmìng; Wade–Giles: T'ien-ming; lit. 'Heaven's command') is a Chinese political doctrine that was used in Ancient China and Imperial China to legitimize the rule of the king or emperor of China. According to this doctrine, Heaven (天, Tian) bestows its mandate on a virtuous ruler, called the Son of Heaven (天子, Tianzi), who is the supreme universal monarch that will rule the world (天下, Tianxia; "[all] under heaven"). If a ruler was overthrown, this was interpreted as an indication that the ruler and his dynasty were unworthy and had lost the Mandate. It was also a common belief that natural disasters such as famine and flood were divine retributions bearing signs of Heaven's displeasure with the ruler, so there would often be revolts following major disasters as the people saw these calamities as signs that the Mandate of Heaven had been withdrawn.
The Mandate of Heaven does not require a legitimate ruler to be of noble birth. Chinese dynasties such as the Han and Ming were founded by men of common origins, but they were seen as having succeeded because they had gained the Mandate of Heaven. Retaining the mandate is contingent on the just and able performance of the rulers and their heirs.