Legends state that the temple was founded by King Suratha, who performed penance here thousands of years ago.