Treaty of Giyanti signed by VOC, Pakubuwono III and Prince Mangkubumi. The treaty divides the Javanese kingdom of Mataram into 2: Sunanate of Surakarta and Sultanate of Yogyakarta.

The Treaty of Giyanti (also known as the Treaty of Gianti Java, the Gianti Agreement, or the Giyanti Treaty) was signed and ratified on February 13, 1755 between Prince Mangkubumi, the Dutch East India Company, and Sunan Pakubuwono III along with his allies. The accord officially divided the Sultanate of Mataram between Mangkubumi and Pakubuwono. The name "Giyanti" was taken from the location of the signing of the agreement, namely in Giyanti Village (Dutch spelling) which is now located in Hamlet Kerten, Jantiharjo Village, southeast of Karanganyar, Central Java.