East Java has been inhabited by humans since prehistoric times. This was proven by the discovery of fossils remains of the Pithecanthropus mojokertensis in Kepuhlagen, Mojokerto; Pithecanthropus erectus on Trinil, Ngawi; and Homo wajakensis in Wajak, Tulungagung. Pre-Islamic era The Dinoyo inscriptions found near the city of Malang are the oldest written sources in East Java, dating from 760 CE. It tells of many political and cultural events in the Kingdom of Kanjuruhan. The name Malang is thought to come from the name of a sacred building called Malangkuseswara. This name is contained in the Mantyasih inscription written in 907 CE. In 1222, Ken Arok founded the Kingdom of Singhasari, which he ruled until 1292. Before coming to power, Ken Arok seized power in Tumapel (Kediri) from Tungul Ametung. Ken Arok's descendants became kings of Singhasari and Majapahit from the 13th until the 15th century. In 1227, Anusapati killed Ken Arok, and later became king of Singhasari. Anusapati's power only lasted 20 years, before he was killed by Tohjaya. Three years later, Tohjaya was killed in an uprising led by Jaya Wisnuwardhana, son of Anusapati. In 1268, Wisnuwardhana died, and he was succeeded by Kertanegara (1268–1292). In 1292 Kertanegara was defeated by a rebel named Jayakatwang, ending the Singhasari. In 1293, Kublai Khan, founder of the Yuan dynasty, sent a large invasion fleet to Java with 20,000 to 30,000 soldiers, beginning the Mongol invasion of Java. This was a punitive expedition against King Kertanegara of Singhasari, who had refused to pay tribute to the Yuan and maimed one of its ministers. However, it ended with failure for the Mongols. In 1294, the Kingdom of Majapahit was founded by Raden Wijaya. The Majapahit reached its peak during the reign of Hayam Wuruk. He was accompanied by the Mahapatih Gajah Mada. Together they managed to unite the archipelago under the name Dwipantara. Majapahit developed to become one of the strongest empires in Southeast Asia. In 1357, the Battle of Bubat occurred, starting a war between the Sunda Kingdom and the Majapahit. The event stemei from the desire of king Hayam Wuruk to take a Sundanese princess. Dyah Pitaloka as queen. However, because of a misunderstanding about the procedure of marriage, leading to a battle in Bubat. Majapahit troops, under the command of Gajah Mada capturud Pajajaran. In 1389, Hayam Wuruk died, and was succeeded by Wikramawardhana. This resulted in the beginning of