 If the ruler became immoral, then rebellion is justified and heaven would take away that mandate and give it to another.This single most important concept legitimized the dynastic cycle or the change of dynasties regardless of social or ethnic background.This principle made it possible for dynasties founded by non-noble families such as Han Dynasty and Ming Dynasty or non-ethnic Han dynasties such as the Xianbei-led Sui dynasty, the Mongol-led Yuan Dynasty and Manchu-led Qing Dynasty.