King Udayna was a Buddhist king who, while leading a military expedition, established a Buddhist government in Bali.
King Udayna and Queen Mahendradatta had one son, Erlangga, in 1001 AD in Sanur, Bali.