Mataram Sultanate
This legend is a local popular folklore that connects and explains the supernatural origin of Central Java's famous archaeological sites; such as of the Ratu Boko palace, the Durga statue in northern cella/chamber of the main Prambanan shrine, and the Sewu temple complex nearby. Although the temples itself dated from circa 9th century, the legend was composed in later times, probably during Mataram Sultanate era.