Medang Kingdom
Dharmawangsa's heir and nephew, Airlangga, son of Mahendradatta and Udayana, was aged only 16 at the time. However, he escaped the invaders and went on to become founder of the Kahuripan Kingdom, successor of the Medang Kingdom.