In the eighth century, there was a kingdom named Oddiyana located in the western part of India. This Oddiyana kingdom is now the Swat region in modern-day Pakistan. The king of this region at the time, Indrabhuti, was unable to have children. Despite trying various treatments and religious rituals, he remained childless. As a last resort, King Indrabhuti decided to embark on a great sea voyage. He traveled throughout India and even to the lands of Siam and Kambuj by sea. On his return journey, he found a child inside a lotus flower. The king brought the child back to his kingdom, formally adopted him, and declared him the crown prince.