The mandate of heaven is the thing that Chinese emperors claim was given to them by their deities. A ruler earns it from the previous emperor when he retires, or when he dies. It could be lost when another dynasty takes over and takes the mandate of heaven.