King Jayabaya is credited with reunification of the Kediri kingdom following a split due to the death of his predecessor Airlangga. King Jayabaya was known for his just and prosperous rule, and reputed to have been an incarnation of the Hindu deity Vishnu. King Jayabaya epitomized the archetypal Ratu Adil: the just king reborn in the dark age of suffering Jaman Edan (Madness Era) to restore the Jaman Raharja: social justice, order, and harmony in the world, as Javanese believed in a cyclical history of alternating prosperity epochs of (Jaman Raharja) followed an era of suffering (Jaman edan), to cycle back to an era of prosperity (Jaman Raharja).