Mataram Sultanate
After Sultan Agung, the Sultanate of Mataram was declining due to power struggle within the sultanate itself. To make things worse, VOC (Dutch East India Company) exploited the power struggle to increase its control. At the peak of the conflict, the Mataram Sultanate was split in two based on the Treaty of Giyanti of 13 February 1755: Yogyakarta Sultanate and Surakarta Sunanate.