<a href="https://en.wikipedia.org/wiki/Treaty_of_Giyanti" id="mwdg" rel="mw:WikiLink" title="Treaty of Giyanti">Treaty of Giyanti</a> signed by <a class="mw-redirect" href="https://en.wikipedia.org/wiki/Dutch_East_Indies_Company" id="mwdw" rel="mw:WikiLink" title="Dutch East Indies Company">VOC</a>, <a href="https://en.wikipedia.org/wiki/Pakubuwono_III" id="mweA" rel="mw:WikiLink" title="Pakubuwono III">Pakubuwono III</a> and <a class="mw-redirect" href="https://en.wikipedia.org/wiki/Prince_Mangkubumi" id="mweQ" rel="mw:WikiLink" title="Prince Mangkubumi">Prince Mangkubumi</a>. The treaty divides the Javanese kingdom of <a href="https://en.wikipedia.org/wiki/Mataram_Sultanate" id="mweg" rel="mw:WikiLink" title="Mataram Sultanate">Mataram</a> into two: <a class="mw-redirect" href="https://en.wikipedia.org/wiki/Sunanate_of_Surakarta" id="mwew" rel="mw:WikiLink" title="Sunanate of Surakarta">Sunanate of Surakarta</a> and <a class="mw-redirect" href="https://en.wikipedia.org/wiki/Sultanate_of_Yogyakarta" id="mwfA" rel="mw:WikiLink" title="Sultanate of Yogyakarta">Sultanate of Yogyakarta</a>.