 This city served as an important port since the era of Kahuripan, Janggala, until the era of Kediri, Singhasari, and Majapahit.During Singhasari and Majapahit period the name of the port is changed back to Hujung Galuh.Not much is known about the Kingdom of Janggala because the Kingdom of Kediri was the more dominant of the two.