Giri Kedaton (also called Giri Kadaton in Javanese, Kedatuan Giri in Indonesian) was an Islamic kedatuan (city-state or principality) located in Gresik, East Java and existed in the 15th to 17th centuries, until Giri was conquered by the Mataram Sultanate in 1636.
At that time Giri Kedaton had high popularity among Islamic intellectuals, so that many students from all over the archipelago came to study religion. Because they had strong legitimacy, prospective sultans from Demak, Pajang, and early Mataram asked for legitimacy from Sunan Giri before taking up the position of sultan.[1] This happened because at that time, Javanese society adhered to the principle of divine power, namely that a reigning power descended from God,[2] so in this case, because of its unique power in religion for the Javanese people that made Sunan Giri and the Giri Kedaton asked by the kingdom in Java at that time to legitimize their power like the Pope in Rome.
Now the location of Giri Kedaton is part of the Sunan Giri Tomb complex where Sunan Giri and his family, including Sunan Prapen are buried.