 In 1045, Airlangga divided Kahuripan into two kingdoms which were inherited by his two sons; Janggala and Kediri.Airlangga himself abdicated the throne in 1045, returned to the hermit life by assuming a new name as Resi Gentayu, bestowed by Mpu Bharada, a famous hermit.The reasons behind the partition of a kingdom that Airlangga himself did painstakingly unite during his younger years remain as a puzzle for historians.