 Based on the terms of the agreement, the eastern half of the Sultanate of Mataram in central Java was given to Pakubuwono III with Surakarta as its capital, while the western half was given to Prince Mangkubumi with its capital in Yogyakarta.This treaty marked the division of the former territory of Mataram Sultanate between Surakarta Sunanate and Yogyakarta Sultanate.After the signing of the treaty, Prince Mangkubumi changed his title as prince and became known as Sultan Hamengkubuwono I.