It was justified through the Mandate of heaven. Basically. It was thought that only one legitimate ruler could be the ruler of china. And whoever that one ruler was, he was blessed with godlike powers.
Hoped this help :P
8.5m questions
11.2m answers