After the death of
Sultan Agung in 1645, the
Sultanate of Mataram went into decline due to a power struggle within the sultanate itself. The
Dutch East India Company also exploited the power struggle to increase its control. At the peak of the conflict, the Mataram Sultanate was split into two based on the
Treaty of Giyanti of 13 February 1755: Yogyakarta Sultanate and
Surakarta Sunanate. The Giyanti Treaty mentioned
Pangeran Mangkubumi as
Sultan of Yogyakarta with the title of Which translates as As the result of further colonial intervention within the ruling family of the former
Mataram Sultanate, the area which today is the
Special Region of Yogyakarta was divided into the Sultanate of Yogyakarta (Kasultanan Yogyakarta) and the
Principality of Pakualam (Kadipaten Pakualaman). both are responsible to the
president of Indonesia. Unlike the other heads of regions in Indonesia, the governor of the Special Region of Yogyakarta has the privilege or special status of not being bound to the period of position nor the requirements and way of appointment (article 25, paragraphs 1 and 2). However, in carrying out their duties, they have the same authority and responsibilities. The title Mangkubumi was formerly reserved for senior male princes groomed for the throne, including the reigning sultan. The decree thus admits female royalty into the line of succession for the first time since the founding of the Sultanate. According to the current sultan, this was in line with his prerogatives; his action was nonetheless criticised by more conservative male family members such as his siblings, who were thus displaced in the line of succession. ==Residences==