The traditional story concerning the origins of the Lord Jagannath temple is that here the original image of Jagannath (a deity form of Vishnu) at the end of Treta yuga manifested near a banyan tree, near seashore in the form of an Indranila mani or the Blue Jewel. It was so dazzling that it could grant instant moksha, so the God Dharma or Yama wanted to hide it in the earth and was successful. In Dvapara Yuga King Indradyumna of Malwa wanted to find that mysterious image and to do so he performed harsh penance to obtain his goal. Vishnu then instructed him to go to the Puri seashore and find a floating log to make an image from its trunk.