Матарам
Gunapriyadharmapatni was born in 961 and growing up in Watugaluh palace, East Java. She was a Javanese princess of East Javanese Isyana Dynasty, the daughter of king Sri Makutawangsawarddhana of late Medang Kingdom period. She was the sister of King Dharmawangsa of Medang. She was later betrothed to Balinese king Udayana, and moved to the island as a queen consort and assumed the name Mahendradatta.