According to Hindu mythology and local legends, King Indradyumna of Avanti commissioned the construction of the original Jagannath Temple in Puri. Historically, the temple was rebuilt by King Anantavarman Chodaganga Deva in the 12th century, but Indradyumna remains the legendary founder.