In 1293 (1294 by some) Raden Wijaya used the turmoil of the Yuan expedition against Java to make himself free, founding Majapahit with its seat at Trowulan (east Java). Under Hayam Wuruk (1350-1389) and the vizier Gajah Mada - bound by his Palapa oath to unite the islands - it crested: by the 1360s the Nagarakretagama epic counts tributaries and vassals in the hundreds, the realm holding most of Java and Sumatra, the Malay peninsula and the spice-island trade routes. Its Hindu-Buddhist culture blended - Kawi script and the Javanese epics (Pararaton, Nagarakretagama) took form, the shadow-play and gamelan running to this day. In the 15th century Islam moved up the coasts, the kingdom cracked, and in 1527 (or 1528) the Demak sultanate ended it.

Editorial note on dating Javanese maritime empire.