Meanwhile, Jayakatwang, the ruler of the Gelang-Gelang (Kediri) kingdom, revolted against Kertanegara, killing him and destroying the Singhasari kingdom. Raden Wijaya, the son in law of Kertanegara, led Mongol forces during the Mongol invasion of Java to Jayakatwang to oust him. Raden Wijaya then turned back against Mongol forces, and drove them out to the sea. Raden Wijaya then established the Majapahit kingdom in 1293.