The legend revolves around a celestial princess who lived on Mount Ledang, located in present-day Tangkak District, Johor, Malaysia.
Puteri Gunung Ledang is mentioned by name to be the sultan's daughter (or a citizen, depending on how you view the translation of 'anak perempuan kita' as).
The point of the story is that the Sultan was either too proud or too blind to realise that the conditions were the princess's subtle way of turning his proposal down.
[2] Further legend has it that the princess eventually married one Nakhoda Ragam, a hero whose name unfailingly struck terror into the hearts of those who had dared to oppose him.
Ragam's boat, not long after, was crushed during a storm and legend has it that the debris of the wreck was transformed into the present six islands off Malacca.