In 1019, after several years in self-imposed exile in a Mount Vanagiri hermitage, Airlangga rallied supports from officials and regents that are loyal to the former Isyana dynasty and began to unite the areas that had formerly been ruled by Medang kingdom, which had disintegrated after Dharmawangsa's death.
In 1037 the capital was moved from Watan Mas to Kahuripan, the king also reported to bestows titles for his loyal followers, such as Narottama promoted as Rakryan Kanuruhan (prime minister) and Niti as Rakryan Kuningan [REF].