Dharmawangsa

Dharmawangsa was either the son or son-in-law of Sri Makutawangsawardhana, preceding King of Mataram and grandson of Mpu Sindok.

Dharmawangsa's sister, Princess Mahendradatta, married Udayana, Raja of the Warmadewa Dynasty in Bali, and had a son, Airlangga.

[1]: 130  This sudden and unexpected attack took place during the wedding ceremony of Dharmawangsa's daughter, which rendered the court unprepared and shocked.

[1]: 144  With the death of Dharmawangsa and the fall of the capital, under military pressure from Srivijaya, the kingdom finally collapsed and fell to chaos.

[1]: 130 Dharmawangsa's heir and nephew, Airlangga, son of Mahendradatta and Udayana, was aged only 16 at the time.