King was a High Rank of Kiry. It was earned by the one who was the richest. The origin did not matter at all. On the contrary, people cared only for the riches.
The Kings didn't have many responsibilities. They were religious and military leaders. The substantial powers had the warlords. They were responsible for the external relations of the state.