The Bodhisatta married Princess Suvanna Phimpha Khanun Ngio. King Phommadata built a castle for the couple. Later, the king handed over his throne to the Bodhisatta and established him as the new king of Pharanasi kingdom. The new king ruled the kingdom with the ten virtues for a ruler. Thus, the kingdom was peaceful and prosperous.