As per the writings on the temple wall this temple is believed to be constructed by the King Pulakesi II of Chalukya dynasty around 625 A.D to commemorate his victory over Vengi region of Andhra Desham.