This concept of ( (or divine king) was adopted by the Thai kings from the ancient Khmer tradition of devaraja followed in the region, and the Hindu concept of kingship was applied to the status of the Thai king. The concept centered on the idea that the king was an incarnation (avatar) of the god Vishnu and that he was a Bodhisattva (enlightened one), therefore basing his power on his religious power, his moral power, and his purity of blood.