Original: The earliest evidence of Islamised populations in Indonesia dates to the 13th century in northern Sumatra; other Indonesian areas gradually adopted Islam which became the dominant religion in Java and Sumatra by the end of the 16th century.
Simplified: By the end of the 16th century it was the dominant religion in Java and Sumatra.