In the middle of 18th century, Mataram Sultanate was divided into two separate sultanates by the 1755 Giyanti Treaty: Yogyakarta Sultanate (led by Pangeran Mangkubumi) and Surakarta (led by Pakubuwono II). Following the division, another rival of royal house was established in Surakarta by the Mangkunegaran prince, Raden Mas Said, while a small hereditary principality was established in Yogyakarta by the Pakualaman.
Photo credit: User:Meursault2004.