Upon the decline of the Sultanate, the region was conquered in turn by the Pajang and Mataram Sultanates.[7] The seaport began to silt sometime in the 17th century, diminishing the region's importance as a seaport.