According to Bhavishya Purana and Samba Purana, there may have been a sun temple in the region earlier than current one, dating to the 9th century or earlier [REF].
According to the scriptures, Samba, the son of Krishna, was cursed with leprosy.