sentence: airlangga ( also spelled erlangga ) , regnal name rakai halu sri lokeswara dharmawangsa airlangga anantawikramottunggadewa ( born 991 in bali , indonesia -- died 1049 in java ) , was the only raja of the kingdom of kahuripan .