Senopati's grandson, Sultan Agung (the Great Sultan, 1613–1645), was described as a great Muslim ruler and was claimed as the greatest of Mataram's rulers, though both Senopati and Sultan Agung established a liaison with the Goddess of the Southern Ocean of Nyai Loro Kidul.[5]