The last Sanskrit inscription is dated 1327 and describes the succession of Indrajayavarman by Jayavarmadiparamesvara. Historians suspect a connection with the kings' adoption of Theravada Buddhism: they were therefore no longer considered "devarajas", and there was no need to erect huge temples to them, or rather to the gods under whose protection they stood. The retreat from the concept of the devaraja may also have led to a loss of royal authority and thereby to a lack of workers. The water-management apparatus also degenerated, meaning that harvests were reduced by floods or drought. While previously three rice harvests per year were possible – a substantial contribution to the prosperity and power of Kambuja – the declining harvests further weakened the empire.