Mataram Sultanate
Demak was succeeded by the Kingdom of Pajang and finally the Sultanate of Mataram. The centre of power moved from coastal Demak, to Pajang in Blora, and later further inland to Mataram lands in Kotagede, near present-day Yogyakarta. The Mataram Sultanate reached its peak of power and influence during the reign of Sultan Agung Hanyokrokusumo between 1613 and 1645.