The Majapahit Empire followed the Srivijaya Empire and lasted from 1292-1478. It was replaced by the Malaccan Empire.
The founder of the Majapahit Empire, Kertarajasa, was the son-in-law of Kertanagara, the ruler of the Singhasari Kingdom, also based in Java and a rival of the Srivijayans.
Kertanagara was an aspiring empire builder whose achievements stimulated the rise of Majapahit; He endeavored to assert Javanese supremacy over a declining Srivijaya and dispatched naval forces around the Java Sea.
Kertanagara drove the Srivijayans out of Java altogether in 1290. The Majapahit kingdom became the most powerful of the kingdoms in Hindu Java and came to be regarded by the later generations as the major source of Javanese culture. This was the first time the major islands of the Indonesian archipelago had been united under one commands.
Majapahit grew strength because of successfully combined agricultural production with export trade.
The arrival of Islam on Java and a massive revolt on the north of the Island eventually left the empire weak and in disarray.
To make it worse, this internal threat came at the point when a rival kingdom, Malacca, was growing stronger. Malacca was setup in 1403, by Parameswara, who had ruled in Palembang under Majapahit reign.
Majapahit Empire from Java (1292-1478)