Officials of the Archaeology Department said that the temple may have been constructed in the early 19th century. It may have started getting buried in sand after the 1850 floods in the Penna river. The floods had submerged the village and the people relocated away from the river banks.