When Majapahit Kingdom was dwindling, an emerging new Islamic Sultanate in Demak, then small harbor in northern cost of Central Java, replaced Majapahit’s declining role as the dominant ruler in the archipelago. 991 kata lagi