Their son was the famous Airlangga, who replaced the overthrown emperor of Java Dharmawangsa, and ruled in both Java and his original home of Bali.
[2] Mahendradatta and Udayana co-ruled Bali, issuing inscriptions in both their names.
[3] Udayana is known as one of the earliest historical figures of ancient Bali.
His identification as the father of the famous Airlangga, the hero-king of Java, has led him to be a prominent figure in Balinese history on par with ancient Java.
But his sons Anak Wungsu and Marakata Pangkaja became Kings of Bali (Kingdom of Bedahulu).