The term Erucakra is a title closely associated in Java with the concept of the ratu adil (Just King), a ruler who was expected to arise at the end of a period of chaos and socio-economic distress to establish a new rule of justice and plenty. This concept was linked with the "Jayabaya prophecies" (Ramalan Jayabaya) , which claim to be derived from Prabu Jayabaya, a twelfth-century ruler of Kediri, in east Java, and which purport to foretell the historical cycles through which Java would pass (Wiselius). These cycles