In 1045 Airlangga, who ruled Srivijaya, divided the Kahuripan kingdom into two, Janggala (Malang) and Kediri and abdicated in favour of his two sons to live the life of an ascetic.
Janggala |