Airlangga was the last great king of the Mataram kingdom of Java. At the end of his life he decided to divide his kingdom between his two sons which was Kadiri and Djanggala. “After establishing his kingdom between his two sons and he himself retired to life of monastic contemplation.” Here we learn that Airlangga even before he died handed over his kingdom to retire to his own personal thought and meditation. This of course seems to be like what we in the world today do with our families in handing over our business to our younger sons in order for us to retire and live in relaxation. In this division Colin Brown writes in the book, "A Short History of Indonesia", “The western portion of Mataram became Kadiri, the eastern part Janggala.” A century later Kadiri took over the eastern Janggala empire under the command of Jayabaya in 1135-1157. As well as Janggala Kadiri also took control of Bali and Kalimantan.