 Raden Wijaya used the oncoming Mongol troops to overthrow Jayakatwang.Wijaya then betrayed his Mongol allies, who were exhausted after the war, drove them from Java and established Majapahit as one of the greatest empires to arise from within the area covered by the modern territory of Indonesia.Kertanegara had no male heir, but through his daughter Gayatri Rajapatni, who married Raden Wijaya, Kertanegara became the ancestor of Rajasa dynasty, the ruling dynasty of Majapahit.