According to the Nagarakertagama, around the 13th century, Majapahit's vassal states spread throughout much of today's Indonesia, making it the largest empire ever to exist in Southeast Asia. The empire declined in the 15th century after the rise of Islamic states in coastal Java, Malay peninsula and Sumatra.