Complex sentence: His heir, crown princess Sanggramawijaya, chose to become a hermit rather than succeed Airlangga, seduced by the legend of Dewi Kilisuci and the Selomangleng Cave beneath Mount Klothok, 5 km to the west of the city of Kediri.
Split into simpler sentences: His heir, the crown princess Sanggramawijaya, chose to become a hermit rather than succeed Airlangga. The story of a crown princess whom renounce the throne to become a hermit is linked with the popular legend of Dewi Kilisuci that resides in the Selomangleng Cave beneath Mount Klothok, 5 km to the west of the city of Kediri.